Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#995)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.4 → v0.8.0](astral-sh/ruff-pre-commit@v0.7.4...v0.8.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Nov 25, 2024
1 parent 0337906 commit 9616ff3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.4
rev: v0.8.0
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand Down
2 changes: 1 addition & 1 deletion src/apscheduler/triggers/cron/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@


class BaseField:
__slots__ = "name", "expressions"
__slots__ = "expressions", "name"

real: ClassVar[bool] = True
compilers: ClassVar[Any] = (AllExpression, RangeExpression)
Expand Down

0 comments on commit 9616ff3

Please sign in to comment.