-
Notifications
You must be signed in to change notification settings - Fork 118
/
pants.toml
46 lines (35 loc) · 1 KB
/
pants.toml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[GLOBAL]
pants_version = '2.23.0'
backend_packages = [
'pants.backend.python',
'pants.backend.python.lint.autoflake',
'pants.backend.build_files.fmt.black',
'pants.backend.python.lint.isort',
'pants.backend.python.lint.black',
'pants.backend.python.lint.docformatter',
'pants.backend.tools.taplo',
"pants.backend.experimental.python",
]
pants_ignore.add = ['!_test_scripts/', '!_dev_scripts/']
[anonymous-telemetry]
enabled = false
[source]
root_patterns = ['/', 'src/', 'tests/']
[python]
interpreter_constraints = ['==3.12.*']
[pytest]
args = ['-vv', '--no-header']
[coverage-py]
interpreter_constraints = ['>=3.8']
report = ['html', 'console']
[black]
args = ['--line-length=90', '--skip-string-normalization']
interpreter_constraints = ['>=3.8']
[isort]
args = ['--profile=black', '--line-length=90']
interpreter_constraints = ['>=3.8']
[docformatter]
args = ['--wrap-summaries=90', '--wrap-descriptions=90']
interpreter_constraints = ['>=3.8']
[autoflake]
interpreter_constraints = ['>=3.8']