Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #277

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/timothycrosley/isort
rev: "5.12.0"
- repo: https://github.com/PyCQA/isort
rev: "5.13.2"
hooks:
- id: isort
additional_dependencies: [toml]
- repo: https://github.com/psf/black
rev: "23.9.1"
rev: "24.8.0"
hooks:
- id: black
exclude: battDB/migrations/|common/migrations/|dfndb/migrations/|management/migrations/|_other/|data/
Expand Down
1 change: 1 addition & 0 deletions battDB/initial_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
These functions are run as part of a migration and pre-populate the database with
some default parsers.
"""

from logging import getLogger

logger = getLogger()
Expand Down
1 change: 1 addition & 0 deletions dfndb/initial_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
These functions are run as part of a migration and pre-populate the database with
some default parameters.
"""

PARAMETERS = [
dict(name="Time", status="Public", symbol="t", unit=("Time", "s")),
dict(name="Step time", status="Public", symbol="ts", unit=("Time", "s")),
Expand Down
1 change: 1 addition & 0 deletions dfndb/initial_units.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
These functions are run as part of a migration and pre-populate the database with
some default quantities and units.
"""

from .models import QuantityUnit

SI_QUANTITY_UNITS = [
Expand Down
1 change: 1 addition & 0 deletions liionsden/settings/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""

import os
import tempfile

Expand Down
1 change: 1 addition & 0 deletions liionsden/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""

from azure.core.utils import parse_connection_string
from django.conf import settings
from django.conf.urls.static import static
Expand Down
Loading