Skip to content

chore: Add ARG rule to ruff#577

Merged
ValerianRey merged 1 commit intomainfrom
add-ruff-arg
Feb 18, 2026
Merged

chore: Add ARG rule to ruff#577
ValerianRey merged 1 commit intomainfrom
add-ruff-arg

Conversation

@ValerianRey
Copy link
Contributor

@ValerianRey ValerianRey commented Feb 18, 2026

  • Add ARG rule to ruff
  • Add [tool.ruff.lint.per-file-ignores] to ignore the ARG rule in conftest.py and test_rst.py
  • Add _ in front of unused parameter names that we have to keep
  • Remove unused jacobians parameter of _disunite_gradient
  • Make the input_keys parameter of check_keys positional-only, so that we can rename it in subclasses

@PierreQuinton FYI

@ValerianRey ValerianRey added the cc: chore Conventional commit type for changes to some configuration files of the project. label Feb 18, 2026
@ValerianRey ValerianRey self-assigned this Feb 18, 2026
@ValerianRey ValerianRey merged commit 18b6df0 into main Feb 18, 2026
15 checks passed
@ValerianRey ValerianRey deleted the add-ruff-arg branch February 18, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cc: chore Conventional commit type for changes to some configuration files of the project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments