Closed benjaminrwilson closed 3 years ago
This PR adds a pyproject.toml file to consolidate styling tools such as isort and black.
pyproject.toml
isort
black
Each "block" within this file specifies a different type of options. For example, isort is written as:
[tool.isort] known_first_party = "argoverse" line_length = 120 multi_line_output = 3 profile = "black"
The options above should have a 1-to-1 correspondence with isort.cfg.
isort.cfg
Ben, what are the advantages of pyproject.toml over our current repo setup?
This PR adds a
pyproject.toml
file to consolidate styling tools such asisort
andblack
.pyproject.toml
was introduced in PEP 518 for build system requirements.isort
,black
, etc.Each "block" within this file specifies a different type of options. For example,
isort
is written as:The options above should have a 1-to-1 correspondence with
isort.cfg
.