Skip to content
Open
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
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.11.12
rev: v0.14.8
hooks:
# Run the linter.
- id: ruff-check
args: [--fix]
# Run the formatter.
- id: ruff-format

- repo: https://github.com/adamchainz/django-upgrade
rev: '1.29.1'
hooks:
- id: django-upgrade
2 changes: 1 addition & 1 deletion manage_breast_screening/core/middleware/basic_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def process_view(
return None

# Validate Authorization header
header = request.META.get("HTTP_AUTHORIZATION", "")
header = request.headers.get("authorization", "")
if not header.startswith("Basic "):
return self._unauthorized_response()
try:
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ requires-python = ">=3.14,<4.0.0"
readme = "README.md"
license = { text = "MIT" }
dependencies = [
"django (>=5.1.7,<6.0.0)",
"django>=5.1.7,<7.0.0",
"dotenv (>=0.9.9,<0.10.0)",
"gunicorn (>=23.0.0,<24.0.0)",
"jinja2 (>=3.1.6,<4.0.0)",
Expand All @@ -29,6 +29,7 @@ dependencies = [
"django-extensions (>=4.1,<5.0)",
"azure-monitor-opentelemetry (>=1.8.1,<2.0.0)",
"django-linear-migrations>=2.19.0",
"django-upgrade>=1.29.1",
]

[dependency-groups]
Expand Down
31 changes: 27 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading