PyCQA / pycodestyle

Simple Python style checker in one Python file
https://pycodestyle.pycqa.org
Other
5.01k stars 755 forks source link

Adds support for pyproject.toml for python 3.11+ projects #1223

Closed scuml closed 7 months ago

scuml commented 7 months ago

PEP 518 and PEP 621 have standardized the use of pyproject.toml for specifying build system requirements and project metadata. Now that python 3.11 has a toml parsing library, and especially because it's baked right into configparser, it is the right time to give the python community what it has been asking for, and include pyproject as a configuration option.

sigmavirus24 commented 7 months ago

See #813. We're not adding this support. Maybe I would reconsider if 3.11 were the minimum version we support given it's baked into configparser but for now, we can't rely on that and people will be confused why it doesn't work on different versions of Python (or has different behaviour on different versions).