fix(black):  🔥 retire black formatter in favor of ruff

Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
This commit is contained in:
Onuralp SEZER 2023-12-13 12:28:51 +03:00
parent d68cd95d43
commit 87985b2fe2
No known key found for this signature in database
GPG Key ID: CF0835DFDF14CA38
2 changed files with 0 additions and 18 deletions

View File

@ -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:

View File

@ -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.