-
Notifications
You must be signed in to change notification settings - Fork 874
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Modify flake8 config for Black compatibility * Add flake8 pre-commit * Pin flake8 requirement * Add flake8 Github action * Modify test command to include linting * Ignore flake8 issues fix in git blame * Mention flake8 pre-commit linting
- Loading branch information
1 parent
96125f8
commit d94428a
Showing
7 changed files
with
22 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# Migrate code style to Black | ||
3416fc7fb1986687d800ab06594c901f93879e44 | ||
# Fix flake8 issues | ||
96125f839c115e49d44699ab7d911e8413d4d0b6 |
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
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 |
---|---|---|
|
@@ -6,5 +6,5 @@ testfixtures==6.17.1 | |
pytest-cov | ||
|
||
# linters | ||
flake8 | ||
flake8==4.0.1 | ||
black[jupyter]==21.12b0 |
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 |
---|---|---|
|
@@ -4,5 +4,5 @@ exclude = | |
__pycache__, | ||
.pytest_cache, | ||
__init__.py | ||
ignore = W503 | ||
max-line-length = 120 | ||
extend-ignore = E203 |