1a0324d473
- 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
25 lines
606 B
YAML
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
|
|
- .
|
|
|