Skip to content

Commit

Permalink
Update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
mjnaderi committed Jun 22, 2024
1 parent d6f4317 commit 8322d91
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.5.0"
rev: "v4.6.0"
hooks:
- id: trailing-whitespace # trims trailing whitespace
args: [--markdown-linebreak-ext=md]
Expand All @@ -15,30 +15,24 @@ repos:
- id: check-merge-conflict # check for files that contain merge conflict strings

- repo: https://github.com/adamchainz/django-upgrade
rev: "1.15.0"
rev: "1.18.0"
hooks:
- id: django-upgrade
args: [--target-version, "3.2"]
args: [--target-version, "4.2"]

- repo: https://github.com/asottile/pyupgrade
rev: "v3.15.0"
rev: "v3.16.0"
hooks:
- id: pyupgrade
args: [--py37-plus]
args: [--py38-plus]

- repo: https://github.com/pycqa/isort
rev: "5.12.0"
rev: "5.13.2"
hooks:
- id: isort
name: isort (python)

- repo: https://github.com/psf/black
rev: "23.10.1"
rev: "24.4.2"
hooks:
- id: black

- repo: https://github.com/ikamensh/flynt
rev: "1.0.1"
hooks:
- id: flynt
args: [--aggressive, --line-length, "120"]

1 comment on commit 8322d91

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
qsessions
   admin.py58395%21, 42–43
   geoip.py27678%15, 21–23, 51–53
tests
   test_sessionstore.py99199%144
TOTAL4441098% 

Tests Skipped Failures Errors Time
48 0 💤 0 ❌ 0 🔥 5.815s ⏱️

Please sign in to comment.