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

[pre-commit.ci] pre-commit autoupdate #243

Merged
merged 4 commits into from
Jan 3, 2024

Conversation

Comment on lines +71 to +76
# Ignore current false positives for pydantic models subclassing across files
# See: https://github.com/astral-sh/ruff/issues/5243#issuecomment-1860776975
"**/models/**" = ["RUF012"]
# Tests can use magic values, assertions, and relative imports, ignore missing docstrings,
# compare to empty string
"**/tests/**" = ["PLR2004", "S101", "TID252", "D100", "D101", "D102", "D103", "PLC1901"]
"**/tests/**" = ["PLR2004", "S101", "TID252", "D100", "D101", "D102", "D103", "PLC1901", "RUF012"]
Copy link
Contributor

@huong-li-nguyen huong-li-nguyen Jan 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Be aware of this ignores and check the issue comment to understand why it's ok to ignore for now. Ruff might fix this in the future (given that they already ignore this error for subclasses within the same file), so we can eventually remove it later.

pre-commit-ci bot and others added 4 commits January 3, 2024 12:20
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0)
- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.9-for-vscode → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.0.0-alpha.9-for-vscode...v4.0.0-alpha.8)
- [github.com/macisamuele/language-formatters-pre-commit-hooks: d2425a6 → v2.12.0](macisamuele/language-formatters-pre-commit-hooks@d2425a6...v2.12.0)
- https://github.com/charliermarsh/ruff-pre-commithttps://github.com/astral-sh/ruff-pre-commit
- [github.com/astral-sh/ruff-pre-commit: v0.0.261 → v0.1.9](astral-sh/ruff-pre-commit@v0.0.261...v0.1.9)
- [github.com/psf/black: 23.3.0 → 23.12.1](psf/black@23.3.0...23.12.1)
- [github.com/PyCQA/bandit: 1.7.5 → 1.7.6](PyCQA/bandit@1.7.5...1.7.6)
- [github.com/pre-commit/mirrors-mypy: v1.2.0 → v1.8.0](pre-commit/mirrors-mypy@v1.2.0...v1.8.0)
- [github.com/gitleaks/gitleaks: v8.16.4 → v8.18.1](gitleaks/gitleaks@v8.16.4...v8.18.1)
@huong-li-nguyen huong-li-nguyen force-pushed the pre-commit-ci-update-config branch from ee15b0d to 7489cc9 Compare January 3, 2024 11:20
@huong-li-nguyen huong-li-nguyen enabled auto-merge (squash) January 3, 2024 11:26
@huong-li-nguyen huong-li-nguyen merged commit fe28b9d into main Jan 3, 2024
33 checks passed
@huong-li-nguyen huong-li-nguyen deleted the pre-commit-ci-update-config branch January 3, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants