-
Notifications
You must be signed in to change notification settings - Fork 3.4k
/
pyproject.toml
56 lines (53 loc) · 1.33 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[build-system]
requires = [
"setuptools",
"wheel",
]
[tool.autopep8]
max_line_length = 120
ignore = ["W504", "W504", "E402", "E731", "C40", "E741", "F40", "F841"]
[tool.black]
# https://github.com/psf/black
line-length = 120
target-version = ["py38"]
exclude = "(.eggs|.git|.hg|.mypy_cache|.nox|.tox|.venv|.svn|_build|buck-out|build|dist)"
[tool.isort]
known_first_party = [
"benchmarks",
"docs",
"pl_examples",
"pytorch_lightning",
"tests",
]
skip_glob = [
"pl_examples/*",
"pytorch_lightning/accelerators/*",
"pytorch_lightning/callbacks/*",
"pytorch_lightning/cluster_environments/*",
"pytorch_lightning/core/*",
"pytorch_lightning/distributed/*",
"pytorch_lightning/loggers/*",
"pytorch_lightning/metrics/*",
"pytorch_lightning/overrides/*",
"pytorch_lightning/plugins/*",
"pytorch_lightning/profiler/*",
"pytorch_lightning/trainer/*",
"pytorch_lightning/tuner/*",
"pytorch_lightning/utilities/*",
"tests/backends/*",
"tests/base/*",
"tests/callbacks/*",
"tests/checkpointing/*",
"tests/core/*",
"tests/loggers/*",
"tests/metrics/*",
"tests/models/*",
"tests/plugins/*",
"tests/trainer/*",
"tests/tuner/*",
"tests/utilities/*",
]
profile = "black"
line_length = 120
force_sort_within_sections = "True"
order_by_type = "False"