3 ms·
> PEP 680 – tomllib: Support for Parsing TOML in the Standard Library Perhaps now flake8 will finally add the support for pyproject.toml as a config file...
by BerislavLopac 4y ago
> PEP 680 – tomllib: Support for Parsing TOML in the Standard Library
Perhaps now flake8 will finally add the support for pyproject.toml as a config file...
- benji-york 4y agoThat probably won't happen any time soon. See https://github.com/PyCQA/flake8/issues/234#issuecomment-1206730688 https://github.com/PyCQA/flake8/issues/234#issuecomment-1206...
- scrollaway 4y agoI have dropped flake8 everywhere due to how hostile it has become to the rest of the python ecosystem. They pull a lot of nonsense like this, such as a refusal to fix their dependency pinning with no logical reasoning. Besides… Between Black / Tan for cosmetic issues and Mypy / Pylance / Pyright for logical issues, flake8 has never since caught any concrete problem with my codebase and has solely been a source of things to disable or work around.
- claytonjy 4y agoI find Pylint to be great, catches a lot, integrates well enough into pyproject, and the new standalone vscode extension is solid. If only I didn't have to restart the Pylint server every time I update a signature...
- BerislavLopac 4y agoMy key problem with pylint - and the main reason why I have been using flake8 - is its terrible defaults; it takes huge amount of configuration to get a sane set of reports. But I might need to look into it again...
- claytonjy 4y agoI've never tried adding it to a large project, but in starting with it early I'm continually impressed with what it finds. "Unnecessary comprehension in any/all" was the latest surprise. I have just three configs: - ignore TODOs (but only in pre-commit so i still get the IDE squiggles) - line length 88 (black compatibility) - add pydantic to extension whitelist