pyaerocom icon indicating copy to clipboard operation
pyaerocom copied to clipboard

Ruff up pyaerocom

Open lewisblake opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. @avaldebe has shown us the many benefits of using ruff as a linter / formatter. We should move to use ruff instead of black and isort.

Describe the solution you would like to see A clear and concise description of what you want to happen.

  • A PR applying ruff to the pyaerocom code base.
  • Changes in the dependencies to drop isort and black and add ruff.
  • Changes in the pre-commit hooks to just use ruff.
  • The commit of the major changes to the code should be added to the .gitignore

Additional context This should happen rather soon after any large outstanding PRs are merged. #962 should be merged into main-dev before a PR for this is drafted.

lewisblake avatar Apr 14 '24 09:04 lewisblake