aboutsummaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorPaul Harrison <paul@harrison.sh>2022-11-18 13:18:07 +0000
committerPaul Harrison <paul@harrison.sh>2022-12-15 16:02:14 +0000
commit8a7147441acf3c6e1320ce89dcabac17248bd463 (patch)
tree2979eeb334eb61d3e3087ffbcfb124bcaaa70595 /setup.cfg
parent69dee5d5a5d75ef338ec241d95a0a5a11ed14eb8 (diff)
chore: Add linting configuration
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg24
1 files changed, 24 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 5425e9e..1c6cfb7 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,3 +1,27 @@
+[flake8]
+max-line-length = 88
+ignore =
+ E203 W503
+per-file-ignores =
+ *__init__.py:F401
+ tests/*:D,FS003
+exclude =.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,*.cache,*.local
+multi_line_output = 3
+
+[pydocstyle]
+ignore=D100,D104,D107,D203,D213,D406,D407,D413
+
+[mypy]
+pretty = True
+strict = True
+show_error_codes = True
+warn_unreachable = True
+
[tool:pytest]
addopts = --verbose
testpaths = tests
+
+[isort]
+profile = black
+multi_line_output = 3
+skip_glob =*/.cache/*,*/.local/*