summaryrefslogtreecommitdiffstats
path: root/python/.flake8
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-07-23 15:28:40 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-07-23 15:28:42 -0700
commit5c39fa4b9a2c43d94d1eef68ac24f1d0099d219a (patch)
treecb656ea83ef3fe9e7589ca8ccf716aa83ef06593 /python/.flake8
parent6a87b3d2e1b315d35ccaa13457571d73afaf5e6b (diff)
downloadfatcat-5c39fa4b9a2c43d94d1eef68ac24f1d0099d219a.tar.gz
fatcat-5c39fa4b9a2c43d94d1eef68ac24f1d0099d219a.zip
simple lint (flake8) fixes in tests
The pytest fixture syntax interacts weirdly with flake8 tests, so ignore the "redefinition" and "unused variable" errors more carefully for .py files under ./tests/
Diffstat (limited to 'python/.flake8')
-rw-r--r--python/.flake82
1 files changed, 1 insertions, 1 deletions
diff --git a/python/.flake8 b/python/.flake8
index 34f6131c..bb1baa71 100644
--- a/python/.flake8
+++ b/python/.flake8
@@ -10,4 +10,4 @@ max-line-length = 120
per-file-ignores =
*/__init__.py: F401
tests/*.py: F401,F811
- tests/transform_csl.py: W291
+ tests/transform_csl.py: F401,F811,W291