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
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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
|
||||
- .
|
||||
|
||||
Reference in New Issue
Block a user