diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..274f7db58 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,10 @@ +[tool.black] +line-length = 88 +py36 = true +include = '\.pyi?$' +exclude = ''' +/( + \.git + | \.mypy_cache +)/ +''' diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 000000000..4a149e661 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,17 @@ +[wheel] +universal = 1 + +[pycodestyle] +max-line-length = 88 +ignore = E501,E741,W503 + +[flake8] +max-line-length = 88 +ignore = E501,E741,W503 +exclude = .git,__pycache__,docs/source/conf.py,old,build,dist + +[mypy] +warn_redundant_casts = true +disallow_untyped_calls = true +disallow_untyped_defs = true +no_implicit_optional = true