-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c958a71
commit 6e2a361
Showing
5 changed files
with
14 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,8 @@ | ||
#!/bin/bash | ||
set -euxo pipefail | ||
|
||
# isort suspended as conflicting with black | ||
# nbqa isort docs/guides/ | ||
|
||
|
||
# this sometimes conflicts with black but does some | ||
# preliminary import sorting | ||
# and is then overriden by black | ||
isort cities/ tests/ | ||
|
||
black ./cities/ ./tests/ ./docs/guides/ | ||
|
||
black docs/guides/ | ||
|
||
isort --profile="black" cities/ tests/ | ||
autoflake --remove-all-unused-imports --in-place --recursive ./cities ./tests | ||
|
||
nbqa autoflake --nbqa-shell --remove-all-unused-imports --recursive --in-place docs/guides/ | ||
|
||
#nbqa black docs/guides/ | ||
|
||
nbqa --nbqa-shell isort --profile="black" docs/guides/ | ||
nbqa --nbqa-shell autoflake --nbqa-shell --remove-all-unused-imports --recursive --in-place docs/guides/ | ||
black ./cities ./tests docs/guides/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
#!/bin/bash | ||
set -euxo pipefail | ||
|
||
mypy --ignore-missing-imports cities/ | ||
#isort --check --diff cities/ tests/ | ||
black --check cities/ tests/ | ||
flake8 cities/ tests/ --ignore=E203,W503 --max-line-length=127 | ||
|
||
|
||
nbqa autoflake -v --recursive --check docs/guides/ | ||
#nbqa isort --check docs/guides/ | ||
nbqa black --check docs/guides/ | ||
mypy --ignore-missing-imports cities/ tests/ | ||
isort --check --profile="black" --diff cities/ tests/ | ||
black --check cities/ tests/ docs/guides/ | ||
flake8 cities/ tests/ | ||
nbqa --nbqa-shell autoflake --nbqa-shell --recursive --check docs/guides/ |