From 91e731c705ba32721ce5ee7cfad7f265611ebd43 Mon Sep 17 00:00:00 2001 From: David Moreau Simard Date: Wed, 24 Apr 2019 21:12:49 -0400 Subject: [PATCH] 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 --- pyproject.toml => .black.toml | 0 tests/linters.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename pyproject.toml => .black.toml (100%) diff --git a/pyproject.toml b/.black.toml similarity index 100% rename from pyproject.toml rename to .black.toml diff --git a/tests/linters.sh b/tests/linters.sh index f345cc53..5c584582 100755 --- a/tests/linters.sh +++ b/tests/linters.sh @@ -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