Skip to content

Commit

Permalink
Revert "setup: move flake8 filename patterns to setup.cfg"
Browse files Browse the repository at this point in the history
This reverts commit 9c20afb.

Turns out the filename config doesn't do what I thought it does. It
lists filename patterns within paths, not files or directories to check,
and the change skipped everything.
  • Loading branch information
jnikula committed Nov 19, 2023
1 parent 327a00c commit 8642624
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile.local
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RST := $(RST) CHANGELOG.rst CONTRIBUTING.rst README.rst
# Static analysis
.PHONY: check
check:
flake8
flake8 src/hawkmoth test

.PHONY: check-rst
check-rst:
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,5 @@ console_scripts =
hawkmoth = hawkmoth.__main__:main

[flake8]
filename =
src/hawkmoth
test
extend-ignore = E302,E305,E731
max-line-length = 100

0 comments on commit 8642624

Please sign in to comment.