pytensor icon indicating copy to clipboard operation
pytensor copied to clipboard

Consider replacing flake8/pylint by ruff in pre-commit

Open ricardoV94 opened this issue 1 year ago • 2 comments

Description

Besides being way way faster, it would allow us to get rid of setup.cfg which AFAICT exists only because flake8 does not support pyproject.toml: https://github.com/PyCQA/flake8/issues/234.

See #295

https://github.com/pymc-devs/pytensor/blob/main/setup.cfg

ricardoV94 avatar May 14 '23 14:05 ricardoV94

If flake8 is the only thing preventing us from deleting setup.cfg, then we should create a .flake8 file.

maresb avatar May 14 '23 15:05 maresb

I'm taking a look into this on the code sprint :eyes:

lmmx avatar Dec 07 '23 21:12 lmmx