From 8a7147441acf3c6e1320ce89dcabac17248bd463 Mon Sep 17 00:00:00 2001 From: Paul Harrison Date: Fri, 18 Nov 2022 13:18:07 +0000 Subject: chore: Add linting configuration --- setup.cfg | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'setup.cfg') 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/* -- cgit v1.2.3