-
Notifications
You must be signed in to change notification settings - Fork 111
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
Ignore common linting rules #242
Conversation
Signed-off-by: Abhijeet Kasurde <[email protected]>
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.
It's fine to ignore these rules for now to unblock the API module work.
args: [ | ||
--fix, | ||
--exit-non-zero-on-fix, | ||
--ignore, E402, |
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.
That not the right place to add ignores. You should use inline noqa for this one, or if we want to ignore it for the entire project, it would be inside pyproject.toml ruff config.
- repo: https://github.com/pycqa/pylint | ||
rev: v3.2.6 | ||
hooks: | ||
- id: pylint | ||
args: | ||
- --output-format=colorized | ||
- --disable=C0103,C0114,C0115,C0116,R0913,R1735, | ||
- --max-line-length=120 |
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.
Same as above, not here! Otherwise running pylint outside pre-commit will show same errors (aka... vscode will stil complain!)
No description provided.