Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ docker-qa-build: Dockerfile.qa requirements.txt requirements-dev.txt
--build-arg PYTHON_VERSION=$(PYTHON_VERSION) \
--file $< .

docker-fmt: docker-qa-build
docker run --rm -v `pwd`:/atlassian-python-api $(QA_CONTAINER) tox -e black_fmt

docker-atlassian-standalone: Dockerfile.standalone
docker build \
--tag $(ATLASSIAN_SDK) \
Expand Down
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ skip_install = true
deps = black
commands = black --check --diff {[base]linting_targets} --exclude __pycache__

[testenv:black_fmt]
basepython = python3
target-version = ["py37"]
skip_install = true
deps = black
commands = black {[base]linting_targets} --exclude __pycache__

[testenv:mypy]
basepython = python3
skip_install = true
Expand Down