Skip to content

Commit

Permalink
Changed pre-commit to use local config.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderlazarev0 committed Sep 29, 2024
1 parent ba4adb9 commit f6ced21
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
19 changes: 8 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.8
- repo: local
hooks:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]
- id: ruff-format
types_or: [ python, pyi]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
hooks:
- id: mypy
args: [--strict, --ignore-missing-imports]
- id: lint
name: lint
entry: just
args: [lint]
language: system
types: [python]
pass_filenames: false
2 changes: 0 additions & 2 deletions that_depends/providers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
class AbstractProvider(typing.Generic[T_co], abc.ABC):
"""Abstract Provider Class."""

__slots__ = ("_override",)

def __init__(self) -> None:
super().__init__()
self._override: typing.Any = None
Expand Down

0 comments on commit f6ced21

Please sign in to comment.