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

Add the ruff linter to the GitHub pipeline #254

Merged
merged 3 commits into from
Sep 2, 2023
Merged

Conversation

skangas
Copy link
Contributor

@skangas skangas commented Sep 1, 2023

This adds the ruff linter to the GitHub pipeline and fixes some rule violations from its default configuration.

More information:
https://pypi.org/project/ruff/

E401 Multiple imports on one line
E701 Multiple statements on one line (colon)
E713 Test for membership should be `not in`
F401 `foo` imported but unused
F405 `foo` may be undefined, or defined from star imports
F821 Undefined name `foo`
F841 Local variable `foo` is assigned to but never used
@gauteh
Copy link
Owner

gauteh commented Sep 2, 2023

Thanks, looks good 👍

@gauteh gauteh merged commit 9772d59 into gauteh:master Sep 2, 2023
1 check passed
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.

2 participants