[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 = [ "bencharmks", "docs", "pl_examples", "pytorch_lightning", "tests", ] skip_glob = [ "pl_examples/*", "pytorch_lightning/*", "tests/*" ] # Only apply formatting on root-level scripts, docs and benchmarks profile = "black" line_length = 120