mirror of
https://github.com/ivuorinen/aeonview.git
synced 2026-03-13 23:58:41 +00:00
Add pyright>=1.1.0 and pylint>=3.0.0 as dev dependencies. Configure pyright for basic type checking (py3.13) and refine pylint message disables to avoid overlap with ruff's enabled rule sets.
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
---
|
|
repos:
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.21.2
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: [--py3-plus]
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: "v0.15.6"
|
|
hooks:
|
|
- id: ruff
|
|
args: ["--fix"]
|
|
- id: ruff-format
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: check-ast
|
|
- id: check-builtin-literals
|
|
- id: check-docstring-first
|
|
- id: check-executables-have-shebangs
|
|
- id: check-json
|
|
- id: check-merge-conflict
|
|
- id: check-shebang-scripts-are-executable
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: detect-aws-credentials
|
|
- id: end-of-file-fixer
|
|
- id: mixed-line-ending
|
|
- id: name-tests-test
|
|
- id: no-commit-to-branch
|
|
- id: trailing-whitespace
|
|
- repo: local
|
|
hooks:
|
|
- id: pyright
|
|
name: pyright
|
|
entry: uv run pyright
|
|
language: system
|
|
types: [python]
|
|
pass_filenames: false
|
|
always_run: true
|
|
- id: pylint
|
|
name: pylint
|
|
entry: uv run pylint
|
|
language: system
|
|
types: [python]
|
|
- id: pytest
|
|
name: pytest
|
|
entry: uv run pytest
|
|
language: system
|
|
pass_filenames: false
|
|
always_run: true
|