Skip to content

Commit 0c3d8ec

Browse files
pre-commit-ci[bot]CasperWA
authored andcommitted
[pre-commit.ci] pre-commit autoupdate (#620)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.13 → v0.12.0](astral-sh/ruff-pre-commit@v0.11.13...v0.12.0) - [github.com/PyCQA/bandit: 1.8.4 → 1.8.5](PyCQA/bandit@1.8.4...1.8.5) - [github.com/pre-commit/mirrors-mypy: v1.16.0 → v1.16.1](pre-commit/mirrors-mypy@v1.16.0...v1.16.1) * Ignore convention-related pylint codes (ruff) Update to use non-legacy ruff pre-commit id (ruff-check) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Casper Welzel Andersen <casper.w.andersen@sintef.no>
1 parent 0fad9d5 commit 0c3d8ec

5 files changed

Lines changed: 15 additions & 11 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,24 +53,25 @@ repos:
5353
additional_dependencies: [black]
5454

5555
- repo: https://github.com/astral-sh/ruff-pre-commit
56-
rev: v0.11.13
56+
rev: v0.12.0
5757
hooks:
58-
- id: ruff
58+
- id: ruff-check
59+
name: ruff
5960
args:
6061
- "--fix"
6162
- "--exit-non-zero-on-fix"
6263
- "--show-fixes"
6364
- "--no-unsafe-fixes"
6465

6566
- repo: https://github.com/PyCQA/bandit
66-
rev: 1.8.4
67+
rev: 1.8.5
6768
hooks:
6869
- id: bandit
6970
args: ["-r"]
7071
files: ^app/.*$
7172

7273
- repo: https://github.com/pre-commit/mirrors-mypy
73-
rev: v1.16.0
74+
rev: v1.16.1
7475
hooks:
7576
- id: mypy
7677
exclude: ^tests/.*$

.pre-commit-config_docker.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
args: [--markdown-linebreak-ext=md]
2222

2323
- repo: https://github.com/asottile/pyupgrade
24-
rev: v3.19.1
24+
rev: v3.20.0
2525
hooks:
2626
- id: pyupgrade
2727
args: ["--py310-plus"]
@@ -38,24 +38,25 @@ repos:
3838
additional_dependencies: [black]
3939

4040
- repo: https://github.com/astral-sh/ruff-pre-commit
41-
rev: v0.11.4
41+
rev: v0.12.0
4242
hooks:
43-
- id: ruff
43+
- id: ruff-check
44+
name: ruff
4445
args:
4546
- "--fix"
4647
- "--exit-non-zero-on-fix"
4748
- "--show-fixes"
4849
- "--no-unsafe-fixes"
4950

5051
- repo: https://github.com/PyCQA/bandit
51-
rev: 1.8.3
52+
rev: 1.8.5
5253
hooks:
5354
- id: bandit
5455
args: ["-r"]
5556
files: ^app/.*$
5657

5758
- repo: https://github.com/pre-commit/mirrors-mypy
58-
rev: v1.15.0
59+
rev: v1.16.1
5960
hooks:
6061
- id: mypy
6162
exclude: ^tests/.*$

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
**Merged pull requests:**
88

9+
- \[pre-commit.ci\] pre-commit autoupdate [\#620](https://github.com/EMMC-ASBL/oteapi-services/pull/620) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
910
- \[pre-commit.ci\] pre-commit autoupdate [\#616](https://github.com/EMMC-ASBL/oteapi-services/pull/616) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
1011

1112
## [v1.20250410.410](https://github.com/EMMC-ASBL/oteapi-services/tree/v1.20250410.410) (2025-04-10)

app/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
from __future__ import annotations
88

9-
__version__ = "1.20250623.429"
9+
__version__ = "1.20250626.430"
1010
__author__ = "SINTEF"
1111
__author_email__ = "Team4.0@SINTEF.no"

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ extend-select = [
3131
"PYI", # flake8-pyi
3232
]
3333
ignore = [
34-
"PLR", # Design related pylint codes
34+
"PLC", # Convention related pylint codes
35+
"PLR", # Refactor related pylint codes
3536
]
3637
isort.required-imports = ["from __future__ import annotations"]
3738

0 commit comments

Comments
 (0)