Skip to content

Commit c25c469

Browse files
committed
Fix flake8 config
1 parent 550d97d commit c25c469

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.flake8

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[flake8]
2+
13
exclude =
24
compat.py,
35
src/hypothesis/vendor/,

tooling/src/hypothesistooling/__main__.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ def task(fn):
4848
@task
4949
def lint():
5050
os.chdir(tools.HYPOTHESIS_PYTHON)
51-
pip_tool('flake8', 'src', 'tests')
51+
pip_tool('flake8', 'src', 'tests', '--config', os.path.join(
52+
tools.ROOT, ".flake8"
53+
))
5254

5355

5456
@task

0 commit comments

Comments
 (0)