mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 09:48:51 -03:30
move black CLI arguments into a pyproject.toml
This commit is contained in:
2
Makefile
2
Makefile
@@ -272,7 +272,7 @@ reports:
|
|||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
black: reports
|
black: reports
|
||||||
(set -o pipefail && $@ $(BLACK_ARGS) --skip-string-normalization --fast --line-length 160 awx awxkit awx_collection | tee reports/$@.report)
|
(set -o pipefail && $@ $(BLACK_ARGS) awx awxkit awx_collection | tee reports/$@.report)
|
||||||
|
|
||||||
genschema: reports
|
genschema: reports
|
||||||
$(MAKE) swagger PYTEST_ARGS="--genschema --create-db "
|
$(MAKE) swagger PYTEST_ARGS="--genschema --create-db "
|
||||||
|
|||||||
4
pyproject.toml
Normal file
4
pyproject.toml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
[tool.black]
|
||||||
|
line-length = 160
|
||||||
|
fast = true
|
||||||
|
skip-string-normalization = true
|
||||||
Reference in New Issue
Block a user