diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-01-12 10:47:17 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-01-12 10:47:17 +0100 |
| commit | 819621324753265fcc8ac274a306978227b41813 (patch) | |
| tree | 83f1ee525ce4604c8cc8d32f8d3b691911490e71 /.pre-commit-config.yaml | |
| parent | 7af7fd6219a9fd47943400c93365ecc3f288fcd2 (diff) | |
| download | tidal-dl-ng-819621324753265fcc8ac274a306978227b41813.tar.gz | |
🛠️ Isort refactoring.
Diffstat (limited to '.pre-commit-config.yaml')
| -rw-r--r-- | .pre-commit-config.yaml | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 904ede1..9316f3d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,48 +4,48 @@ default_language_version: default_stages: [commit, push] repos: -# - repo: https://github.com/pre-commit/pre-commit-hooks -# rev: "v4.4.0" -# hooks: -# - id: check-case-conflict -# - id: check-merge-conflict -# - id: check-toml -# - id: check-yaml -# - id: end-of-file-fixer -# - id: trailing-whitespace + # - repo: https://github.com/pre-commit/pre-commit-hooks + # rev: "v4.4.0" + # hooks: + # - id: check-case-conflict + # - id: check-merge-conflict + # - id: check-toml + # - id: check-yaml + # - id: end-of-file-fixer + # - id: trailing-whitespace - repo: https://github.com/charliermarsh/ruff-pre-commit rev: "v0.0.230" hooks: - id: ruff -# - repo: https://github.com/pre-commit/mirrors-prettier -# rev: "v3.0.3" -# hooks: -# - id: prettier -# -# - repo: https://github.com/pre-commit/pre-commit-hooks -# rev: v2.5.0 -# hooks: -# - id: check-yaml -# - id: end-of-file-fixer -# exclude: LICENSE -# -# - repo: local -# hooks: -# - id: pyupgrade -# name: pyupgrade -# entry: poetry run pyupgrade --py310-plus -# types: [python] -# language: system -# -# - repo: local -# hooks: -# - id: isort -# name: isort -# entry: poetry run isort --settings-path pyproject.toml -# types: [python] -# language: system + - repo: https://github.com/pre-commit/mirrors-prettier + rev: "v3.0.3" + hooks: + - id: prettier + + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.5.0 + hooks: + - id: check-yaml + - id: end-of-file-fixer + exclude: LICENSE + + # Due to UP007 and Typer this stays disabled: https://github.com/tiangolo/typer/issues/533 + # - repo: local + # hooks: + # - id: pyupgrade + # name: pyupgrade + # entry: poetry run pyupgrade --py310-plus + # types: [python] + # language: system + - repo: local + hooks: + - id: isort + name: isort + entry: poetry run isort --settings-path pyproject.toml + types: [python] + language: system # # - repo: local # hooks: |
