Skip to content

Commit 9df5b21

Browse files
authored
build: speed up flake8 by ignoring test data (#1970)
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.
1 parent 9ce7724 commit 9df5b21

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ exclude =
1010
.tox,
1111
var,
1212
.mypy_cache,
13-
test/data/suites/,
13+
test/data/suites/, # does not contain python
14+
test/jsonld/1.1/, # does not contain python
15+
test/jsonld/test-suite/, # does not contain python
16+
test/data/variants/, # does not contain python
17+
test/data/translate_algebra/, # does not contain python
1418
docs/rdf_terms.rst, # This file is causing an error on GitHub actions
1519
extend-ignore =
1620
# Disabled so that black can control line length.

0 commit comments

Comments
 (0)