pymc-devs / pytensor

PyTensor allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays.
https://pytensor.readthedocs.io
Other
354 stars 104 forks source link

Consider replacing flake8/pylint by ruff in pre-commit #298

Open ricardoV94 opened 1 year ago

ricardoV94 commented 1 year ago

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

maresb commented 1 year ago

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

lmmx commented 11 months ago

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