File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,9 @@ docker-qa-build: Dockerfile.qa requirements.txt requirements-dev.txt
50
50
--build-arg PYTHON_VERSION=$(PYTHON_VERSION ) \
51
51
--file $< .
52
52
53
+ docker-fmt : docker-qa-build
54
+ docker run --rm -v ` pwd` :/atlassian-python-api $(QA_CONTAINER ) tox -e black_fmt
55
+
53
56
docker-atlassian-standalone : Dockerfile.standalone
54
57
docker build \
55
58
--tag $(ATLASSIAN_SDK ) \
Original file line number Diff line number Diff line change @@ -40,6 +40,13 @@ skip_install = true
40
40
deps = black
41
41
commands = black --check --diff {[base]linting_targets} --exclude __pycache__
42
42
43
+ [testenv:black_fmt]
44
+ basepython = python3
45
+ target-version = [" py37" ]
46
+ skip_install = true
47
+ deps = black
48
+ commands = black {[base]linting_targets} --exclude __pycache__
49
+
43
50
[testenv:mypy]
44
51
basepython = python3
45
52
skip_install = true
You can’t perform that action at this time.
0 commit comments