Skip to content

Commit 8bb1c39

Browse files
authored
Merge 2dfdd3f into b94415e
2 parents b94415e + 2dfdd3f commit 8bb1c39

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
exclude: ^user_docs/(?!en/).*$
2+
13
repos:
24

35
- repo: https://github.com/pre-commit/pre-commit-hooks
@@ -7,8 +9,10 @@ repos:
79
- id: check-ast
810
- id: check-case-conflict
911
- id: check-merge-conflict
10-
- id: end-of-file-fixer
1112
- id: trailing-whitespace
13+
types_or: [python, c, c++, batch, markdown]
14+
- id: end-of-file-fixer
15+
types_or: [python, c, c++, batch, markdown]
1216

1317
- repo: https://github.com/asottile/add-trailing-comma
1418
rev: v3.1.0
@@ -20,7 +24,7 @@ repos:
2024

2125
- repo: https://github.com/astral-sh/ruff-pre-commit
2226
# Matches Ruff version in requirements.
23-
rev: v0.5.0
27+
rev: v0.5.2
2428
hooks:
2529
- id: ruff
2630
name: lint with ruff
@@ -35,13 +39,13 @@ repos:
3539
entry: cmd.exe /c "scons checkPot -j 4"
3640
language: system
3741
pass_filenames: false
38-
types: [python, pofile]
42+
types: [python]
3943
- id: unitTest
4044
name: unit tests
4145
entry: ./rununittests.bat
4246
language: script
4347
pass_filenames: false
44-
types: [python, c, c++, batch]
48+
types_or: [python, c, c++, batch]
4549
- id: licenseCheck
4650
name: Check license compatibility of pip dependencies
4751
files: requirements.txt

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ sphinx==7.2.6
3838
sphinx_rtd_theme==1.3.0
3939

4040
# Requirements for automated linting
41-
ruff==0.4.10
41+
ruff==0.5.2
4242
pre-commit==3.7.1
4343

4444
# Runing automated license checks

0 commit comments

Comments
 (0)