diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5174be3..653849c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ default_language_version: python: python3.11 repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-merge-conflict - id: check-json @@ -15,12 +15,9 @@ repos: - --autofix - id: trailing-whitespace exclude: README.md -- repo: https://github.com/psf/black - rev: 23.7.0 - hooks: - - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.283 + rev: v0.1.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] + - id: ruff-format diff --git a/setup.py b/setup.py index 51ed637..7e35a14 100644 --- a/setup.py +++ b/setup.py @@ -26,8 +26,7 @@ tests_require = [ dev_requires = [ - "black==23.7.0", - "ruff==0.0.283", + "ruff==0.1.2", "pre-commit", ] + tests_require