File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,24 +32,22 @@ repos:
3232 - id : pyupgrade
3333 args : [--py312-plus]
3434
35- - repo : https://github.com/astral-sh/ruff-pre-commit
36- rev : v0.3.0
37- hooks :
38- # Sort imports.
39- - id : ruff
40- name : ruff-sort-imports
41- args : [--select, I, --fix]
42-
4335 - repo : local
4436 hooks :
45- - id : ruff-lint-format
46- name : Ruff Lint & Format
47- entry : bash -c "uv run ruff check --fix && uv run ruff format"
37+ - id : ruff-lint
38+ name : Python code linting with Ruff
39+ entry : uv run ruff check --fix
40+ language : system
41+ types : [python]
42+
43+ - id : ruff-format
44+ name : Python code formatting with Ruff
45+ entry : uv run ruff format
4846 language : system
49- types : [ python ]
47+ types : [python]
5048
5149 - id : mypy
52- name : Validate types with MyPy
50+ name : Python type checking with MyPy
5351 entry : uv run mypy
5452 language : system
5553 types : [python]
You can’t perform that action at this time.
0 commit comments