Skip to content

Commit

Permalink
Update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSuperiorStanislav committed Dec 9, 2024
1 parent 53de692 commit 4749334
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repos:
- id: add-trailing-comma

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.4
rev: v0.8.2
hooks:
- id: ruff
args: [ --fix ]
Expand Down
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,6 @@ extend-select = [
"RUF"
]
ignore = [
# https://docs.astral.sh/ruff/rules/ANN101
"ANN101",
# https://docs.astral.sh/ruff/rules/ANN102
"ANN102",
# https://docs.astral.sh/ruff/rules/ANN401
"ANN401",
# https://docs.astral.sh/ruff/rules/ANN003
Expand Down
8 changes: 4 additions & 4 deletions saritasa_s3_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
from . import factory

__all__ = (
"keys",
"constants",
"AsyncS3Client",
"S3Client",
"S3FileTypeConfig",
"AsyncS3Client",
"testing",
"constants",
"factory",
"keys",
"testing",
)
2 changes: 1 addition & 1 deletion tests/test_django/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


@pytest.fixture(scope="session", autouse=True)
def django_db_setup(django_db_setup) -> None: # noqa: PT004, ANN001
def django_db_setup(django_db_setup) -> None: # noqa: ANN001
"""Set up test db for testing."""


Expand Down

0 comments on commit 4749334

Please sign in to comment.