lightning/pyproject.toml

49 lines
827 B
TOML
Raw Normal View History

2019-04-03 17:17:55 +00:00
[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 = [
2021-01-14 15:33:09 +00:00
# todo
"pytorch_lightning/core/*",
2021-01-14 15:33:09 +00:00
# todo
"pytorch_lightning/distributed/*",
2021-01-14 15:33:09 +00:00
# todo
"pytorch_lightning/metrics/*",
2021-01-14 15:33:09 +00:00
# todo
"pytorch_lightning/plugins/*",
2021-01-14 15:33:09 +00:00
# todo
"pytorch_lightning/trainer/*",
]
profile = "black"
line_length = 120
force_sort_within_sections = "False"
order_by_type = "False"