From ac116397f15d66eda4f9dd8082274c9ea3fa48bf Mon Sep 17 00:00:00 2001 From: Serious-senpai <57554044+Serious-senpai@users.noreply.github.com> Date: Mon, 16 Sep 2024 01:50:34 +0700 Subject: [PATCH] Fix flake8 --- setup.cfg | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..b27ad03 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,27 @@ +[pycodestyle] +exclude = extern +max-line-length = 9999 +statistics = True + +[coverage:run] +concurrency = multiprocessing, thread +omit = scripts/* + +[coverage:report] +exclude_also = + if TYPE_CHECKING: + def __repr__ + raise NotImplementedError + return NotImplemented + +[flake8] +extend-ignore = E501 +exclude = + .git + .venv + __pycache__ + __init__.py + extern + +[mypy] +exclude = extern