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

Lint and format with ruff #560

Merged
merged 2 commits into from
Dec 16, 2023
Merged

Lint and format with ruff #560

merged 2 commits into from
Dec 16, 2023

Conversation

akx
Copy link
Contributor

@akx akx commented Dec 11, 2023

This PR switches linting/formatting from flake8 + isort + black to ruff and its formatter.

It also adds a simple GitHub Actions step to run that linting.

The examples and tests are exempt from some of the lints for now, to keep the diff here manageable.

@akx akx mentioned this pull request Dec 11, 2023
@akx
Copy link
Contributor Author

akx commented Dec 12, 2023

Rebased post #561.

@j-antunes
Copy link
Contributor

@AdamDonna - When you have a chance can you give a thumbs up if you are approve this PR?

@AdamDonna
Copy link
Contributor

@AdamDonna - When you have a chance can you give a thumbs up if you are approve this PR?

Done. Looks good to me

@akx akx merged commit 4a36247 into master Dec 16, 2023
14 checks passed
@akx akx deleted the lint-with-ruff branch December 20, 2023 19:21
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