instamatic-dev / instamatic

Python program for automated electron diffraction data collection
https://instamatic.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
57 stars 25 forks source link

Use ruff for linting and autoformat code #63

Closed stefsmeets closed 1 year ago

stefsmeets commented 1 year ago

This PR changes the pre-commit config to use ruff instead of pyupgrade, flake8, and reorder-imports. It also re-formats the codebase.