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 #472

Merged
merged 3 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ repos:
- id: python-check-blanket-type-ignore
- id: python-no-log-warn
- repo: https://github.com/PyCQA/pylint
rev: v3.1.0
rev: v3.2.2
hooks:
- id: pylint
args: [
Expand Down
2 changes: 2 additions & 0 deletions src/coaster/sqlalchemy/roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,8 @@ def __attr_available(
present, absent = self._call, self._no_call
elif action == 'write':
present, absent = self._write, self._no_write
else: # pragma: no cover
raise ValueError(f"Unknown action {action}")

if attr in present:
return True
Expand Down
Loading