-
Notifications
You must be signed in to change notification settings - Fork 123
/
pyproject.toml
33 lines (29 loc) · 972 Bytes
/
pyproject.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
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"
[tool.isort]
profile = "google"
# TODO remove once https://github.com/PyCQA/isort/pull/2149 submitted.
line_length = 1000
single_line_exclusions = ["collections.abc", "typing"]
known_thirdparty = ["meltingpot"]
[tool.pyink]
line-length = 80
unstable = true
pyink-indentation = 2
pyink-use-majority-quotes = true
[tool.pytest.ini_options]
required_plugins = ["pytest-xdist"]
addopts = "-n auto"
testpaths = ["meltingpot", "examples"]
[tool.pytype]
python_version = "3.11"
inputs = ["meltingpot", "examples"]
# Keep going past errors to analyze as many files as possible.
keep_going = true
# Run N jobs in parallel. When 'auto' is used, this will be equivalent to the
# number of CPUs on the host system.
jobs = 'auto'
# Use the enum overlay for more precise enum checking. This flag is temporary
# and will be removed once this behavior is enabled by default.
use_enum_overlay = true