Skip to content

Commit

Permalink
chore: Update versions from pre-commit and prevent __version__ from b…
Browse files Browse the repository at this point in the history
…eing removed on __init__
  • Loading branch information
bvanelli committed Jul 6, 2024
1 parent 956579b commit 73420ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
repos:
- repo: 'https://github.com/charliermarsh/ruff-pre-commit'
rev: v0.2.0
rev: v0.5.1
hooks:
- id: ruff
args:
- '--line-length=120'
- '--fix'
- '--exit-non-zero-on-fix'
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: v4.4.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -25,7 +25,7 @@ repos:
- black
- '--filter-files'
- repo: 'https://github.com/psf/black'
rev: 24.1.1
rev: 24.4.2
hooks:
- id: black
args:
Expand Down
1 change: 1 addition & 0 deletions actual/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from typing import IO, Union

from sqlmodel import Session, create_engine, select
from version import __version__ # noqa: F401

from actual.api import ActualServer
from actual.api.models import RemoteFileListDTO
Expand Down

0 comments on commit 73420ca

Please sign in to comment.