Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#49)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0)
- [github.com/pre-commit/mirrors-prettier: v3.0.0 → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.0.0...v4.0.0-alpha.8)
- [github.com/adamchainz/django-upgrade: 1.14.0 → 1.16.0](adamchainz/django-upgrade@1.14.0...1.16.0)
- [github.com/asottile/pyupgrade: v3.10.1 → v3.15.2](asottile/pyupgrade@v3.10.1...v3.15.2)
- [github.com/psf/black: 23.7.0 → 24.3.0](psf/black@23.7.0...24.3.0)
- [github.com/PyCQA/isort: 5.12.0 → 5.13.2](PyCQA/isort@5.12.0...5.13.2)
- [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](PyCQA/flake8@6.1.0...7.0.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Mar 26, 2024
1 parent 63098c7 commit 2eb413a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default_stages: [commit]

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -18,36 +18,36 @@ repos:
- id: detect-private-key

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0
rev: v4.0.0-alpha.8
hooks:
- id: prettier
args: ['--tab-width', '2', '--single-quote']
exclude: 'flamerelay/templates/'

- repo: https://github.com/adamchainz/django-upgrade
rev: '1.14.0'
rev: '1.16.0'
hooks:
- id: django-upgrade
args: ['--target-version', '4.1']

- repo: https://github.com/asottile/pyupgrade
rev: v3.10.1
rev: v3.15.2
hooks:
- id: pyupgrade
args: [--py311-plus]

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.3.0
hooks:
- id: black

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8

Expand Down
1 change: 1 addition & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Base settings to build other settings files upon.
"""

from pathlib import Path

import environ
Expand Down
1 change: 1 addition & 0 deletions config/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
framework.
"""

import os
import sys
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion flamerelay/backend/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class CheckInAdmin(admin.ModelAdmin):
"unit",
"date_created",
"created_by",
"place"
"place",
# "image",
# "message",
# "location",
Expand Down
1 change: 1 addition & 0 deletions flamerelay/users/tests/test_forms.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module for all Form Tests.
"""

from django.utils.translation import gettext_lazy as _

from flamerelay.users.forms import UserAdminCreationForm
Expand Down

0 comments on commit 2eb413a

Please sign in to comment.