diff options
| author | Michael Merickel <michael@merickel.org> | 2018-10-10 09:53:09 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-10-15 09:24:04 -0500 |
| commit | 851c368e3c158e264358de10446f5b5de240e534 (patch) | |
| tree | d31d9831ec6ebf6e0143b724f97011c1fff000c5 /pyproject.toml | |
| parent | 81576ee51564c49d5ff3c1c07f214f22a8438231 (diff) | |
| download | pyramid-851c368e3c158e264358de10446f5b5de240e534.tar.gz pyramid-851c368e3c158e264358de10446f5b5de240e534.tar.bz2 pyramid-851c368e3c158e264358de10446f5b5de240e534.zip | |
configure black and update flake8
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 31 |
1 files changed, 31 insertions, 0 deletions
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 |
