+
+
@@ -7,11 +7,11 @@
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 5315066a..c7419f87 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -10,7 +10,7 @@ repos:
- id: end-of-file-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.14.10
+ rev: v0.14.14
hooks:
- id: ruff-format
- id: ruff-check
diff --git a/compose/production/django/start b/compose/production/django/start
index cceb5f59..ba07ddd4 100644
--- a/compose/production/django/start
+++ b/compose/production/django/start
@@ -9,4 +9,3 @@ python /app/manage.py collectstatic --noinput
/usr/local/bin/gunicorn config.asgi --bind 0.0.0.0:5000 --chdir=/app -k uvicorn.workers.UvicornWorker
-
diff --git a/gobgp_config/gobgp.toml b/gobgp_config/gobgp.toml
index 1cbe3a77..1260c178 100644
--- a/gobgp_config/gobgp.toml
+++ b/gobgp_config/gobgp.toml
@@ -1,3 +1,3 @@
[global.config]
as = 1234
- router-id = "1.1.1.1"
\ No newline at end of file
+ router-id = "1.1.1.1"
diff --git a/requirements/local.txt b/requirements/local.txt
index 0437eebb..1b774efc 100644
--- a/requirements/local.txt
+++ b/requirements/local.txt
@@ -31,7 +31,7 @@ flake8-isort==4.1.1 # https://github.com/gforcada/flake8-isort
black==22.3.0 # https://github.com/psf/black
pylint-django==2.5.3 # https://github.com/PyCQA/pylint-django
pylint-celery==0.3 # https://github.com/PyCQA/pylint-celery
-pre-commit==2.19.0 # https://github.com/pre-commit/pre-commit
+pre-commit==4.5.1 # https://github.com/pre-commit/pre-commit
# Django
# ------------------------------------------------------------------------------
diff --git a/requirements/production.txt b/requirements/production.txt
index 554117f6..3c6a79b7 100644
--- a/requirements/production.txt
+++ b/requirements/production.txt
@@ -8,4 +8,3 @@ psycopg2==2.9.3 # https://github.com/psycopg/psycopg2
# Django
# ------------------------------------------------------------------------------
django-anymail==8.6 # https://github.com/anymail/django-anymail
-
diff --git a/scram/__init__.py b/scram/__init__.py
index 8f5a0220..570d0cea 100644
--- a/scram/__init__.py
+++ b/scram/__init__.py
@@ -1,4 +1,4 @@
"""The Django project for Security Catch and Release Automation Manager (SCRAM)."""
__version__ = "1.1.1"
-__version_info__ = tuple(int(num) if num.isdigit() else num for num in __version__.replace("-", ".", 1).split("."))
+__version_info__ = tuple(int(num) if num.isdigit() else num for num in __version__.replace("-", ".", 1).split(".")) # noqa: RUF067
diff --git a/scram/templates/500.html b/scram/templates/500.html
index 21df6066..46e43a9c 100644
--- a/scram/templates/500.html
+++ b/scram/templates/500.html
@@ -9,5 +9,3 @@ Looks like something went wrong!
We track these errors automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.
{% endblock content %}
-
-