Skip to content

Commit

Permalink
Merge pull request #6298 from escattone/update-pre-commit-config
Browse files Browse the repository at this point in the history
update pre-commit config plus black,flake8
  • Loading branch information
escattone authored Oct 17, 2024
2 parents b494d09 + 58a9065 commit 4b40fed
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 42 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ default_language_version:
python: python3.11
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: debug-statements
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.10.0
hooks:
- id: black
files: "^kitsune/"
exclude: "^.*/migrations/.*$|kitsune/sumo/db_strings.py"
language_version: python3.11
- repo: https://github.com/pycqa/flake8
rev: 7.0.0
rev: 7.1.1
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-prettier
Expand All @@ -28,7 +28,7 @@ repos:
- [email protected]
files: "^svelte/"
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
rev: v1.12.0
hooks:
- id: mypy
# Add to the "additional_dependencies" list below any poetry
Expand Down
70 changes: 34 additions & 36 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ sphinxcontrib-httpdomain = "^1.8.1"
tabulate = "^0.9.0"
pylint-django = "^2.5.5"
rope = "^1.11.0"
black = "^24.3.0"
black = "^24.10.0"
pytest = "^7.4.4"
pytest-html = "^3.2.0"
pytest-xdist = "^3.5.0"
docker = "^6.1.3"
pytest-rerunfailures = "^12.0"
flake8 = "^7.0.0"
flake8 = "^7.1.1"
pytest-check = "^2.3.1"
allure-pytest = "^2.13.2"
pytest-playwright = "^0.5.1"
Expand Down

0 comments on commit 4b40fed

Please sign in to comment.