mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
use pyproject.toml for tooling, add isort
This commit is contained in:
@@ -38,8 +38,6 @@ grep -r -I --line-number "# pragma: +no.*cover" $SOURCE_DIR && {
|
||||
exit 1
|
||||
}
|
||||
|
||||
export PYTHONPATH=.:$PYTHONPATH
|
||||
|
||||
pytest \
|
||||
--disable-network \
|
||||
--cov-reset \
|
||||
|
||||
@@ -6,4 +6,5 @@ SOURCES=$(find *.py octodns tests -name "*.py")
|
||||
|
||||
. env/bin/activate
|
||||
|
||||
black --line-length=80 --skip-string-normalization --skip-magic-trailing-comma "$@" $SOURCES
|
||||
isort "$@" $SOURCES
|
||||
black "$@" $SOURCES
|
||||
|
||||
@@ -30,6 +30,4 @@ export ARM_CLIENT_SECRET=
|
||||
export ARM_TENANT_ID=
|
||||
export ARM_SUBSCRIPTION_ID=
|
||||
|
||||
export PYTHONPATH=.:$PYTHONPATH
|
||||
|
||||
pytest --disable-network "$@"
|
||||
|
||||
Reference in New Issue
Block a user