Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the ruff linter/formatter #315

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Use the ruff linter/formatter #315

merged 2 commits into from
Oct 15, 2024

Conversation

elevans
Copy link
Member

@elevans elevans commented Oct 14, 2024

Today I ran into a deprecation bug/error with autoflake and distutils with Python 3.12 which irritated me. This PR implements the ruff linter/formater for PyImageJ and replaces autopep8, black, flake8, and isort.

This commit implements the ruff linter/formater and
removes the old dependencies it replaces.
Make ruff happy!
@elevans elevans changed the title Use the ruff linter/formater Use the ruff linter/formatter Oct 14, 2024
@ctrueden ctrueden merged commit 4ea599e into main Oct 15, 2024
8 checks passed
@ctrueden ctrueden deleted the add-ruff branch October 15, 2024 00:26
@ctrueden
Copy link
Member

Thanks @elevans! And thanks @jschneidereit for reviewing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants