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

Enable preview lint checks of ruff #3544

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Enable preview lint checks of ruff #3544

wants to merge 1 commit into from

Conversation

happz
Copy link
Collaborator

@happz happz commented Feb 21, 2025

See [1]: preview rules are sometimes interesting rules, but they are not enabled and ruff community collects opinions before deciding whether a rule is worth eing enabled by default.

And there are some useful rules, I'd like to start enabling them in smaller groups, to make review easier. Starting with this patch and already enabled rules.

[1] https://docs.astral.sh/ruff/preview/#preview

Pull Request Checklist

  • implement the feature
  • write the documentation
  • extend the test coverage
  • update the specification
  • adjust plugin docstring
  • modify the json schema
  • mention the version
  • include a release note

See [1]: preview rules are sometimes interesting rules, but they are not
enabled and ruff community collects opinions before deciding whether a
rule is worth eing enabled by default.

And there are some useful rules, I'd like to start enabling them in
smaller groups, to make review easier. Starting with this patch and
already enabled rules.

[1] https://docs.astral.sh/ruff/preview/#preview
@happz happz added code | no functional change "No Functional Change" intended. Patch should not change tmt's behavior in any way. test coverage Improvements or additions to test coverage of tmt itself ci | full test Pull request is ready for the full test execution labels Feb 21, 2025
@happz happz added this to the 1.44 milestone Feb 21, 2025
@happz happz changed the base branch from main to bump-pre-commit-checks-1.44 February 21, 2025 12:15
@happz happz marked this pull request as draft February 21, 2025 12:20
@happz happz force-pushed the bump-pre-commit-checks-1.44 branch 2 times, most recently from 7f9b047 to cdbd8c5 Compare February 27, 2025 10:37
Base automatically changed from bump-pre-commit-checks-1.44 to main February 28, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci | full test Pull request is ready for the full test execution code | no functional change "No Functional Change" intended. Patch should not change tmt's behavior in any way. test coverage Improvements or additions to test coverage of tmt itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant