Skip to content

Commit

Permalink
leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
adRn-s committed Jan 15, 2024
1 parent f09da6c commit 11c8ac6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
files: misc/parkour.env
args: ["hardreset-envfile"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
types: [python]
Expand All @@ -42,7 +42,7 @@ repos:
- id: check-merge-conflict
types: [python]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.0
hooks:
- id: isort
args: [--profile, "black"]
Expand All @@ -53,7 +53,7 @@ repos:
language_version: python3
entry: black --target-version=py311 # 3.11
- repo: https://github.com/asottile/pyupgrade
rev: v3.13.0
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py311-plus] # 3.11
Expand All @@ -63,7 +63,7 @@ repos:
- id: django-upgrade
args: [--target-version, "4.2"]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "main"
rev: "v4.0.0-alpha.4"
hooks:
- id: prettier
types_or: [json, css, javascript, vue]
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,10 @@ models:
show-urls:
@docker exec parkour2-django python manage.py show_urls

compile:
maintenance:
@pre-commit autoupdate

compile: maintenance
# @test -d ./env_dev || \
# { echo "ERROR: venv not found! Try: make env-setup-dev"; exit 1; }
# @if [[ :$PATH: == *:"env_dev":* ]] ; then
Expand Down

0 comments on commit 11c8ac6

Please sign in to comment.