Skip to content

[chore] Ruff checks - #440

Merged
Desperadus merged 9 commits into
fix/ruff-check-1from
fix/ruff-check-2
Aug 31, 2026
Merged

Desperadus merged 9 commits into
fix/ruff-check-1from
fix/ruff-check-2

Conversation

@lucas-diedrich

Copy link
Copy Markdown
Collaborator

Fix unsafe changes

@lucas-diedrich
lucas-diedrich changed the base branch from main to fix/ruff-check-1 August 31, 2026 14:30
"""
n_term_mod = mods.get(0)
c_term_mod = mods.get(-1, None)
c_term_mod = mods.get(-1)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.get defaults to None

@lucas-diedrich

Copy link
Copy Markdown
Collaborator Author

@mschwoer I linted all modules with the same rule set, but ruff-lint-psm-readers.toml seems to apply different rules on different modules.

Is this ok as is?

@Desperadus
Desperadus merged commit ffd9325 into fix/ruff-check-1 Aug 31, 2026
5 checks passed
@Desperadus
Desperadus deleted the fix/ruff-check-2 branch August 31, 2026 15:00
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