forked from sxs-collaboration/spectre
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
30 lines (27 loc) · 848 Bytes
/
Copy pathpyproject.toml
File metadata and controls
30 lines (27 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Distributed under the MIT License.
# See LICENSE.txt for details.
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 80
target-version = ["py37", "py38", "py39", "py310", "py311"]
required-version = "23.3.0"
# Enable experimental string processing so long strings are wrapped
# automatically. This is very convenient but not quite stable yet. Stability of
# this feature is tracked in this issue:
# https://github.com/psf/black/issues/2188
preview = true
# Skip external code since modifying it can be an issue with GPL-licensed code.
extend-exclude = '''
(
^/external
)
'''
[tool.isort]
profile = "black"
line_length = 80
skip_gitignore = true
known_first_party = ["spectre"]
# Skip external code since modifying it can be an issue with GPL-licensed code.
extend_skip = ["external"]