Files
FYSSTK-Project1/.pre-commit-config.yaml
T
lars 1a0324d473 Start coding of solutions
- Implement OLS and Ridge as well as python structure
- Start with gradient descent
- Create plots for the above mentioned
- Create a basic structure for the python source
- Install pre commit hooks to check and format the code
2025-09-08 13:28:06 +02:00

25 lines
606 B
YAML

repos:
# Ruff via uv
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9 # pick the latest release
hooks:
- id: ruff
args: [--fix] # optional: auto-fix issues
- id: ruff-format # black-compatible formatter
# Mypy via uv
- repo: local
hooks:
- id: mypy
name: mypy (via uv)
entry: uv run mypy
language: system
types: [python]
pass_filenames: false
args:
- --allow-redefinition
- --disable-error-code=import-untyped
- --ignore-missing-imports
- .