OceanParcels / Parcels

Main code for Parcels (Probably A Really Computationally Efficient Lagrangian Simulator)
https://www.oceanparcels.org
MIT License
294 stars 134 forks source link

Consider using flake8-pyproject to combine .flake8 and pyproject.toml info #1628

Closed erikvansebille closed 3 months ago

erikvansebille commented 3 months ago

In https://github.com/OceanParcels/Virtual_ship_classroom/blob/development/codetools.sh, @surgura wrote a script to quickly check valid code

One of the dependencies is https://github.com/john-hen/Flake8-pyproject, which seems as a nice way to combine the duplicate info on flake8 in our .flake8 and pyproject.toml files. Consider using this for Parcels too?

VeckoTheGecko commented 3 months ago

Migrating to Ruff (#1609) will merge the linting configs into pyproject.toml