-
Notifications
You must be signed in to change notification settings - Fork 2
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
Evaluating ruff #683
Evaluating ruff #683
Conversation
@@ -1408,7 +1408,7 @@ def test_complete_invite_new_user(self): | |||
email=invite.get_primary_mail_address(), | |||
given_name=state_payload["state"]["name"]["given_name"], | |||
surname=state_payload["state"]["name"]["surname"], | |||
), | |||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ruff wanted to put a parenthesis on this due to the comma and indent it all as it was a hidden tuple due to the comma
src/eduid/maccapi/middleware.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ruff wanted to remove e as an unused variable as the f-strings were just strings
Quality Gate passedIssues Measures |
Quality Gate passedIssues Measures |
Evaluating using ruff for reformatting and linting
Adds linting to the pipeline
Skips one rule only for now for ambiguous variable names
Some fixes included for things found when linting but mostly unused imports, formatting and explicit re-export of imports in modules