aboutsummaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-01-13 15:04:21 +0000
committerJeremy Johnson <jeremy.johnson@arm.com>2022-01-13 15:04:25 +0000
commit5c1364c8a547127bc90e4d4a78dd876070eb1026 (patch)
tree70187ef07f549687918f8a93725b74f1f7fc2715 /setup.cfg
parentbe1a9408eb53871d96a022f59664f016926a8cf4 (diff)
downloadreference_model-5c1364c8a547127bc90e4d4a78dd876070eb1026.tar.gz
Add python pre-commit script checkers
Fix up issues in existing python scripts. Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Id4adab404560c3129c66f31c21ff0ce148283c73
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index f9e5331..4e3dc10 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -50,3 +50,9 @@ console_scripts =
[tool:pytest]
testpaths=verif/tests
+
+[flake8]
+ignore = D213, E203, E266, E501, W503
+max-line-length = 88
+select = B,E,F,W,T4
+exclude = .eggs