Files
PortProtonQt/.pre-commit-config.yaml
Renovate Bot ebe25b41d8
All checks were successful
Code check / Check code (pull_request) Successful in 1m8s
Code check / Check code (push) Successful in 1m5s
chore(deps): update pre-commit hook astral-sh/uv-pre-commit to v0.8.20
2025-09-23 12:07:17 +00:00

42 lines
1.1 KiB
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: '(data/|documentation/|portprotonqt/locales/|portprotonqt/custom_data/|dev-scripts/|\.venv/|venv/|.*\.svg$)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-toml
- id: check-yaml
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.8.20
hooks:
- id: uv-lock
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.8
hooks:
- id: ruff-check
- repo: local
hooks:
- id: pyright
name: pyright
entry: pyright
language: system
types_or: [python, pyi]
require_serial: true
exclude: '^portprotonqt/themes/[^/]+/styles\.py$'
- repo: local
hooks:
- id: check-qss-properties
name: Check theme for invalid QSS properties
entry: ./dev-scripts/check_qss_properties.py
language: system
types: [file]
files: ^portprotonqt/themes/[^/]+/styles\.py$
pass_filenames: false