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 T201 ruff pre-commit checks #2052

Open
arkid15r opened this issue Apr 18, 2024 · 0 comments
Open

Enable T201 ruff pre-commit checks #2052

arkid15r opened this issue Apr 18, 2024 · 0 comments

Comments

@arkid15r
Copy link
Contributor

Currently we don't automatically enforce T201 checks. The fix would include the modified pyproject.toml (the easy part) and changes related to taking care of multiple cases of print statement in the current code base: most of them need to be replaced with proper logging instructions, some of them can be suppressed extend-per-file-ignores, e.g.

[tool.ruff.lint.extend-per-file-ignores]
"path/to/the/file.py" = ["T201"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant