ci(pre-commit): exclude QSS themes from pyright and target them in qss check
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@ -27,8 +27,9 @@ repos:
|
|||||||
name: pyright
|
name: pyright
|
||||||
entry: pyright
|
entry: pyright
|
||||||
language: system
|
language: system
|
||||||
'types_or': [python, pyi]
|
types_or: [python, pyi]
|
||||||
require_serial: true
|
require_serial: true
|
||||||
|
exclude: '^portprotonqt/themes/[^/]+/styles\.py$'
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
@ -37,5 +38,5 @@ repos:
|
|||||||
entry: ./dev-scripts/check_qss_properties.py
|
entry: ./dev-scripts/check_qss_properties.py
|
||||||
language: system
|
language: system
|
||||||
types: [file]
|
types: [file]
|
||||||
files: \.py$
|
files: ^portprotonqt/themes/[^/]+/styles\.py$
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
|
Reference in New Issue
Block a user