pyproject.toml 665 Bytes
Newer Older
Mandeep Singh Baines's avatar
Mandeep Singh Baines committed
1
2
3
4
5
[build-system]
requires = [
    "setuptools >= 40.6.2",
    "wheel >= 0.30.0"
]
6
build-backend = "setuptools.build_meta:__legacy__"
Mandeep Singh Baines's avatar
Mandeep Singh Baines committed
7
8
9
10
11
12
13
14
15

[tool.black]
line-length = 120
exclude = '''
/(
    \.git
  | \.mypy_cache
  | \.pytest_cache
  | build
16
  | docs
Mandeep Singh Baines's avatar
Mandeep Singh Baines committed
17
18
19
  | stubs
)/
'''
20
21

[tool.isort]
22
23
24
25
26
27
28
29
line_length = 120
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
skip_glob = ["build/*", "stubs/*"]
# Don't split "import" and "from".
force_sort_within_sections = true
30
known_third_party = ["benchmark_dataset", "datasets", "golden_configs", "models", "numpy", "parameterized", "pytest", "recommonmark", "setuptools", "torch", "torchvision"]