AMReX-Codes / pyamrex

GPU-Enabled, Zero-Copy AMReX Python Bindings including AI/ML
http://pyamrex.readthedocs.io
Other
32 stars 15 forks source link

CI: Add `ruff` #208

Closed ax3l closed 8 months ago

ax3l commented 8 months ago

This adds ruff for Python code linting in pre-commits.

This is performed via flake8 --select=F, skipping all other stylistic checks of flake8 (which we perform with other tools such as black and isort). Also, flake8 supports ... # noqa annotations to silence warnings from pyflakes.