diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..f77a9d5 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,7 @@ +repos: + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.8.6 + hooks: + - id: ruff + args: [--fix] + - id: ruff-format diff --git a/requirements-dev.txt b/requirements-dev.txt index 041617b..06ca020 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,2 +1,4 @@ +pre-commit>=3.5.0 pytest>=7.4.0 pytest-asyncio>=0.21.0 +ruff>=0.8.0