Rename pyproject.toml to .black.toml to address pep517

Tox has brought to our attention that using pyproject.toml along
with setup.py/setup.cfg is confusing.

Since the only thing we're using it for is to configure black,
rename the file and use it as a black-specific configuration file
to address the confusion.

Fixes: https://github.com/ansible-community/ara/issues/33
Change-Id: I8d03927cefcfe076aa88ca6b87d45f055de9a4f4
This commit is contained in:
David Moreau Simard 2019-04-24 21:12:49 -04:00
parent 140ff03920
commit 91e731c705
No known key found for this signature in database
GPG Key ID: CBEB466764A9E621
2 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ if [ -z "${VIRTUAL_ENV}" ]; then
fi
banner black
time black --diff --check "${PROJECT_LIB}"
time black --config ${PROJECT_ROOT}/.black.toml --diff --check "${PROJECT_LIB}"
ret+=$?
banner isort