3 Commits

Author SHA1 Message Date
b3d04a402c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-05-19 01:01:13 +00:00
2680039877 Bump numpy from 2.2.5 to 2.2.6
Bumps [numpy](https://github.com/numpy/numpy) from 2.2.5 to 2.2.6.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](https://github.com/numpy/numpy/compare/v2.2.5...v2.2.6)

---
updated-dependencies:
- dependency-name: numpy
  dependency-version: 2.2.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 00:59:48 +00:00
c049061c7b Enhances the ship with security and automation!
Some checks failed
Bandit / bandit (push) Has been cancelled
Codacy Security Scan / Codacy Security Scan (push) Has been cancelled
Adds Dependabot for automatic dependency updates to keep the vessel sea-worthy and updates pre-commit hooks.

Integrates Bandit and Codacy for automated security scans, ensuring a well-defended treasure hold.

Updates devcontainer settings for smoother sailing in the development environment.

Now use foreman for development, to be able to run all processes in development.

Let's keep this ship safe and sound, savvy?
2025-05-19 01:00:22 +02:00

View File

@ -4,8 +4,12 @@
# - post-merge # - post-merge
# - post-rewrite # - post-rewrite
ci:
skip: [django-check, django-check-migrations]
default_language_version: default_language_version:
node: 22.15.1 node: 22.15.1
python: python3.13
repos: repos:
- repo: https://github.com/adamchainz/django-upgrade - repo: https://github.com/adamchainz/django-upgrade
@ -37,28 +41,21 @@ repos:
- id: mixed-line-ending - id: mixed-line-ending
args: [--fix=lf] args: [--fix=lf]
# - repo: https://github.com/psf/black - repo: local
# rev: 22.10.0
# hooks:
# - id: black
# # HTML/Django template linting
# - repo: https://github.com/rtts/djhtml
# rev: 3.0.7
# hooks:
# - id: djhtml
# entry: djhtml --tabwidth 4
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks: hooks:
- id: prettier - id: prettier-jinja
types_or: [javascript, jsx, ts, tsx, css, scss, html, json, yaml, markdown] name: Prettier Jinja
language: node
additional_dependencies: additional_dependencies:
- prettier - prettier
- prettier-plugin-jinja-template - prettier-plugin-jinja-template
# types_or: [javascript, jsx, ts, tsx, css, scss, json, yaml, markdown] types_or: [html, jinja]
# exclude: '.*\.html$' entry: npx prettier --plugin=prettier-plugin-jinja-template --parser=jinja-template --write
- id: prettier-all
name: Prettier All
language: node
types_or: [javascript, jsx, ts, tsx, css, scss, json, yaml, markdown]
entry: npx prettier --write
- repo: https://github.com/DavidAnson/markdownlint-cli2 - repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.18.1 rev: v0.18.1
@ -80,17 +77,19 @@ repos:
- id: django-check - id: django-check
name: Django Check name: Django Check
entry: uv run python dashboard_project/manage.py check entry: uv run python dashboard_project/manage.py check
language: system language: python
pass_filenames: false pass_filenames: false
types: [python] types: [python]
always_run: true always_run: true
additional_dependencies: [uv]
- id: django-check-migrations - id: django-check-migrations
name: Django Check Migrations name: Django Check Migrations
entry: uv run python dashboard_project/manage.py makemigrations --check --dry-run entry: uv run python dashboard_project/manage.py makemigrations --check --dry-run
language: system language: python
pass_filenames: false pass_filenames: false
types: [python] types: [python]
additional_dependencies: [uv]
# Security checks # Security checks
- repo: https://github.com/pycqa/bandit - repo: https://github.com/pycqa/bandit
@ -98,7 +97,7 @@ repos:
hooks: hooks:
- id: bandit - id: bandit
args: [-c, pyproject.toml, -r, dashboard_project] args: [-c, pyproject.toml, -r, dashboard_project]
additional_dependencies: ["bandit[toml]"] # additional_dependencies: ["bandit[toml]"]
# # Type checking # # Type checking
# - repo: https://github.com/pre-commit/mirrors-mypy # - repo: https://github.com/pre-commit/mirrors-mypy