-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpants.toml
63 lines (52 loc) · 1.09 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[GLOBAL]
pants_version = "2.9.0"
backend_packages = [
"pants.backend.python",
"pants.backend.python.lint.black",
"pants.backend.python.lint.isort",
"pants.backend.python.lint.flake8",
"pants.backend.python.typecheck.mypy",
]
pants_ignore_use_gitignore = false
[anonymous-telemetry]
enabled = false
[source]
root_patterns = [
"/src/python",
]
[python]
interpreter_constraints = ["CPython>=3.8.*"]
[repl]
#shell = "ipython"
[pex]
verbosity=0
[pytest]
version = "pytest>=6.0"
#lockfile="3rdparty/python/pytest.lockfile"
lockfile = "<none>"
extra_requirements.add = [
"pytest-mock~=3.6.1",
"requests-mock~=1.9.3",
]
args = [
"--verbose"
]
[flake8]
args = ["--max-line-length 88"]
[mypy]
extra_type_stubs.add = [
"types-setuptools",
"types-dataclasses",
]
# for potential future use:
# "types-requests", "pandas-stubs", "boto3-stubs"
lockfile = "<none>"
config = "mypy.ini"
# report coverage on files encountered during tests
[test]
use_coverage = true
# List of valid python package index locations:
[python-repos]
indexes = [
"https://pypi.org/simple/",
]