Skip to content

Commit

Permalink
[GH-40] chore: update package versions in pre-commit and pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
nickatnight committed Oct 28, 2023
1 parent ba3d0c7 commit 1f39e7a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
11 changes: 6 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,27 @@ 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
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
rev: v2.2.5
hooks:
- id: codespell
11 changes: 6 additions & 5 deletions {{ cookiecutter.project_slug }}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 1f39e7a

Please sign in to comment.