mesh-adaptation / animate

Anisotropic mesh adaptation toolkit for Firedrake
MIT License
5 stars 0 forks source link

Use ruff linter and formatter #109

Closed ddundo closed 5 months ago

ddundo commented 5 months ago

Closes #107.

Relevant changes are done in README.md, pyproject.toml, .pre-commit-config.yaml, Makefile and .flake8 (deleted). Other changes are due to applying the pre-commit, which sorts the imports: first built-ins, then any installed packages, and finally animate and its modules.

I temporarily disabled "B" and "C" linting rules as they were blocking the push. See #108.

Also modified the lint job in the workflow to follow linting as defined in Makefile.