summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorMichael Merickel <github@m.merickel.org>2018-10-15 09:56:42 -0500
committerGitHub <noreply@github.com>2018-10-15 09:56:42 -0500
commitbda1306749c62ef4f11cfe567ed7d56c8ad94240 (patch)
tree304c696c105ca15bbe0f13d96c79524974de768b /pyproject.toml
parent81576ee51564c49d5ff3c1c07f214f22a8438231 (diff)
parenta54bc1ccac17625991e26eb5d4577f893803c683 (diff)
downloadpyramid-bda1306749c62ef4f11cfe567ed7d56c8ad94240.tar.gz
pyramid-bda1306749c62ef4f11cfe567ed7d56c8ad94240.tar.bz2
pyramid-bda1306749c62ef4f11cfe567ed7d56c8ad94240.zip
Merge pull request #3388 from mmerickel/black
format source using black
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml31
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