diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c04c6cdf..e7a0eda9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,8 +18,6 @@ repos: - id: check-toml - id: check-case-conflict - id: check-added-large-files - args: ['--maxkb=2048'] - exclude: ^logo/ - id: detect-private-key - id: forbid-new-submodules - id: pretty-format-json @@ -28,12 +26,6 @@ repos: - id: end-of-file-fixer - id: mixed-line-ending - # - repo: https://github.com/asottile/pyupgrade - # rev: v3.9.0 - # hooks: - # - id: pyupgrade - # name: Upgrade code - # args: [--py38-plus] - repo: https://github.com/PyCQA/flake8 @@ -57,19 +49,11 @@ repos: hooks: - id: isort name: isort (python) - - id: isort - name: isort (cython) - types: [cython] - id: isort name: isort (pyi) types: [pyi] - - repo: https://github.com/psf/black - rev: 23.11.0 - hooks: - - id: black - - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.1.7 hooks: diff --git a/pyproject.toml b/pyproject.toml index 26e498ad..b09e1c8c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -111,7 +111,6 @@ exclude = ''' | build | dist | docs - | supervision/detection/core.py )/ ''' @@ -151,7 +150,6 @@ exclude = [ "yarn-error.log", "yarn.lock", "docs", - "supervision/assets/list.py" ] # Same as Black.