diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8c312c..2071f9a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,19 +4,20 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: + - id: check-added-large-files - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: debug-statements - - id: requirements-txt-fixer + - id: pretty-format-json - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 23.10.1 hooks: - id: black - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.0.241' + rev: 'v0.1.3' hooks: - id: ruff - repo: https://github.com/PyCQA/isort @@ -24,6 +25,6 @@ repos: hooks: - id: isort - repo: https://github.com/codespell-project/codespell - rev: v2.2.2 + rev: v2.2.5 hooks: - id: codespell diff --git a/{{ cookiecutter.project_slug }}/.pre-commit-config.yaml b/{{ cookiecutter.project_slug }}/.pre-commit-config.yaml index b735d87..2369a62 100644 --- a/{{ cookiecutter.project_slug }}/.pre-commit-config.yaml +++ b/{{ cookiecutter.project_slug }}/.pre-commit-config.yaml @@ -3,20 +3,21 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: + - id: check-added-large-files - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: debug-statements - - id: requirements-txt-fixer + - id: pretty-format-json - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 23.10.1 hooks: - id: black args: ["--config=./{{ cookiecutter.backend_container_name }}/pyproject.toml"] - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.0.241' + rev: 'v0.1.3' hooks: - id: ruff - repo: https://github.com/PyCQA/isort @@ -25,7 +26,7 @@ repos: - id: isort args: ["--settings-path=./{{ cookiecutter.backend_container_name }}/pyproject.toml"] - repo: https://github.com/codespell-project/codespell - rev: v2.2.2 + rev: v2.2.5 hooks: - id: codespell # - repo: https://github.com/pre-commit/mirrors-mypy diff --git a/{{ cookiecutter.project_slug }}/{{ cookiecutter.backend_container_name }}/pyproject.toml b/{{ cookiecutter.project_slug }}/{{ cookiecutter.backend_container_name }}/pyproject.toml index 436bcd4..7ac0639 100644 --- a/{{ cookiecutter.project_slug }}/{{ cookiecutter.backend_container_name }}/pyproject.toml +++ b/{{ cookiecutter.project_slug }}/{{ cookiecutter.backend_container_name }}/pyproject.toml @@ -19,15 +19,15 @@ httpx = "^0.23.3" gunicorn = "^20.1.0" [tool.poetry.dev-dependencies] -black = "^22.6.0" +black = "^23.10.0" isort = "^5.12.0" mock = "^4.0.3" pytest = "^7.2.1" pytest-cov = "^4.0.0" pytest-mock = "^3.10.0" pytest-asyncio = "^0.19.0" -mypy = "^0.982" -ruff = "^0.0.241" +mypy = "^1.6.1" +ruff = "^0.1.3" requests = "^2.28.2" [tool.isort]