Skip to content
Merged
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
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:

# general linting
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: check-yaml
- id: fix-byte-order-marker
Expand All @@ -21,13 +21,13 @@ repos:

# python linting
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 25.12.0
hooks:
- id: black

# python linting
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
rev: 7.3.0
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -36,32 +36,32 @@ repos:

# python linting
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.12.0
rev: v3.16.0
hooks:
- id: reorder-python-imports

# python linting
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.21.2
hooks:
- id: pyupgrade

# markdown linting
- repo: https://github.com/markdownlint/markdownlint
rev: v0.13.0
rev: v0.13.0 # NOTE: v0.15.0 is giving a headache with pre-commit
hooks:
- id: markdownlint
entry: mdl --style .markdownlint.rb

# css linting
# CSS linting
- repo: https://github.com/pre-commit/mirrors-csslint
rev: v1.0.5
hooks:
- id: csslint

# YAML linting
- repo: https://github.com/adrienverge/yamllint
rev: v1.33.0
rev: v1.37.1
hooks:
- id: yamllint
entry: yamllint -c .yamllint.yaml .
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.13-slim

WORKDIR /app

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ Please see [the setup documentation](SETUP.md) regarding this.
* [requirements.txt](requirements.txt) - Pip package requirements for enabling
developers to contribute. See [SETUP.md](SETUP.md)
* [SETUP.md](SETUP.md) - Setup instructions for contributors
* [TESTING.md](TESTING.md) - Instructions for manually validating the website functionality works.
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- mongodb

mongodb:
image: mongo:5.0.13-focal
image: mongo:8.2.2
container_name: mongodb
environment:
- PUID=1000
Expand All @@ -26,7 +26,7 @@ services:
restart: unless-stopped

mongo-seed:
image: mongo:5.0.13-focal
image: mongo:8.2.2
container_name: mongo-setup
links:
- mongodb
Expand Down
26 changes: 15 additions & 11 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# NOTE: upgrading Flask past 2.2.5 causes issues with flask-mongoengine
# since Flask 3.0 completely removed the JSONEncoder class
# which flask-mongoengine (version 1.0.0) still relies on this removed class
# to handle JSON serialization for MongoDB objects.
Flask==2.2.5
flask-mongoengine==1.0.0
flask-restx==1.3.0
Flask-WTF==1.2.1
itsdangerous==2.1.2
Jinja2==3.1.3
MarkupSafe==2.1.3
mongoengine==0.27.0
pre-commit==3.6.0
pymongo>=3.12.0,<4.0 # mongoengine==0.27.0 requires a compatible version
python-dotenv==1.0.0
Werkzeug==3.0.1
WTForms==3.1.2
flask-restx==1.3.2
Flask-WTF==1.2.2
itsdangerous==2.2.0
Jinja2==3.1.6
MarkupSafe==3.0.3
mongoengine==0.29.1
pre-commit==4.5.0
pymongo==4.15.5
python-dotenv==1.2.1
Werkzeug==3.1.4
WTForms==3.2.1