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 instructions in README for how to select ruff linter rules or ignore others #107

Open
jgarte opened this issue Dec 5, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@jgarte
Copy link

jgarte commented Dec 5, 2024

Hi,

This is a feature request for the README on adding explicit instructions on how to select ruff linter rules or ignore rules, etc.

For example, I guessed the following but it is invalid:

      - repo: https://github.com/astral-sh/ruff-pre-commit
        # Ruff version.
        rev: v0.8.2
        hooks:
          # Run the linter.
          - id: ruff
            args: [--fix, --select, I]
@MichaReiser MichaReiser added the documentation Improvements or additions to documentation label Dec 6, 2024
@MichaReiser
Copy link
Member

Can you tell me more about why this is invalid, I'm trying to understand the issue you're facing

@jgarte
Copy link
Author

jgarte commented Dec 6, 2024

Hi, IIRC It was a ConfigError or similar. I'll reproduce it again and get back to you with the exact stack trace, if needed. On my phone at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants