Skip to content

Commit f68f888

Browse files
akxbluetech
authored andcommitted
Don't lint autogenerated _version.py
See pypa/setuptools-scm#932
1 parent fb63de3 commit f68f888

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ testpaths = tests
6464
# W503 line break before binary operator
6565
ignore = W503
6666
max-line-length = 99
67-
exclude = lib/,src/,docs/,bin/
67+
exclude = lib/,src/,docs/,bin/,pytest_django/_version.py
6868

6969
[isort]
7070
forced_separate = tests,pytest_django,pytest_django_test
@@ -74,6 +74,7 @@ include_trailing_comma = true
7474
line_length = 79
7575
multi_line_output = 5
7676
lines_after_imports = 2
77+
extend_skip = pytest_django/_version.py
7778

7879
[mypy]
7980
check_untyped_defs = True

0 commit comments

Comments
 (0)