2019-04-03 17:17:55 +00:00
|
|
|
[build-system]
|
|
|
|
requires = [
|
|
|
|
"setuptools",
|
|
|
|
"wheel",
|
|
|
|
]
|
2020-02-23 02:45:34 +00:00
|
|
|
|
|
|
|
[tool.autopep8]
|
|
|
|
max_line_length = 120
|
|
|
|
ignore = ["W504", "W504", "E402", "E731", "C40", "E741", "F40", "F841"]
|
2020-06-03 16:23:14 +00:00
|
|
|
|
|
|
|
[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)"
|
2020-11-13 21:57:46 +00:00
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
known_first_party = [
|
|
|
|
"bencharmks",
|
|
|
|
"docs",
|
|
|
|
"pl_examples",
|
|
|
|
"pytorch_lightning",
|
|
|
|
"tests",
|
|
|
|
]
|
|
|
|
skip_glob = [
|
|
|
|
"pl_examples/*",
|
2020-11-17 23:29:09 +00:00
|
|
|
"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/*",
|
|
|
|
]
|
2020-11-13 21:57:46 +00:00
|
|
|
profile = "black"
|
|
|
|
line_length = 120
|