From 851c368e3c158e264358de10446f5b5de240e534 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Wed, 10 Oct 2018 09:53:09 -0500 Subject: configure black and update flake8 --- pyproject.toml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pyproject.toml (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..b30e4f465 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,31 @@ +[build-system] +requires = ["setuptools", "wheel"] + +[tool.black] +line-length = 79 +skip-string-normalization = true +py36 = false +exclude = ''' +/( + \.git + | \.mypy_cache + | \.tox + | \.venv + | \.pytest_cache + | dist + | build + | docs + | src/pyramid/scaffolds/alchemy + | src/pyramid/scaffolds/starter + | src/pyramid/scaffolds/zodb +)/ +''' + + # This next section only exists for people that have their editors +# automatically call isort, black already sorts entries on its own when run. +[tool.isort] +multi_line_output = 3 +include_trailing_comma = true +force_grid_wrap = 0 +combine_as_imports = true +line_length = 79 -- cgit v1.2.3