mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
move black CLI arguments into a pyproject.toml
This commit is contained in:
parent
c2ef0a6500
commit
7200cbc94a
2
Makefile
2
Makefile
@ -272,7 +272,7 @@ reports:
|
||||
mkdir -p $@
|
||||
|
||||
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
|
||||
$(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
|
||||
Loading…
x
Reference in New Issue
Block a user