Skip to content

Commit

Permalink
build: speed up flake8 by ignoring test data
Browse files Browse the repository at this point in the history
flake8/flakeheaven is quite slow because it scans test data
directories also. This patch adds more directories to flake8 ignore so
that flake8/flakeheaven can run faster.
  • Loading branch information
aucampia committed May 25, 2022
1 parent 958b9a1 commit 91c54d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ exclude =
.tox,
var,
.mypy_cache,
test/data/suites/,
test/data/suites/, # does not contain python
test/jsonld/1.1/, # does not contain python
test/jsonld/test-suite/, # does not contain python
test/data/variants/, # does not contain python
test/data/translate_algebra/, # does not contain python
docs/rdf_terms.rst, # This file is causing an error on GitHub actions
extend-ignore =
# Disabled so that black can control line length.
Expand Down

0 comments on commit 91c54d0

Please sign in to comment.