Skip to content

Commit

Permalink
Upgrade flake8, ignore all E errors from it
Browse files Browse the repository at this point in the history
These E errors are style errors from pycodestyle. We use black, so we don't need
pycodestyle.
  • Loading branch information
riley-harper committed Oct 30, 2023
1 parent e5145ef commit 288a9d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[flake8]
ignore = C901, E501, E722, E731, W503
# We use black for formatting, so ignore errors with code E. They're from pycodestyle.
ignore = E, C901, W503
max-line-length = 88
max-complexity = 40
select = B,C,E,F,W,T4,B9
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies = [
dev = [
"pytest>=7.1.0",
"black>=23.0",
"flake8~=5.0",
"flake8>=5.0",
"pre-commit>=2.0",
"twine>=4.0",
"build>=0.6",
Expand Down

0 comments on commit 288a9d9

Please sign in to comment.