Skip to content

Commit a43da8b

Browse files
committed
upgraded other python deps and pre-commit hooks
1 parent 48ae93d commit a43da8b

5 files changed

Lines changed: 215 additions & 358 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
exclude: '^\.yarn/releases/yarn.*js'
1717
args: ["--fix=lf"]
1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: v0.15.15
19+
rev: v0.15.16
2020
hooks:
2121
# Run the python linter.
2222
- id: ruff-check

docs/Cargo.toml

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

22
[package]
33
name = "cli-gen"
4-
edition = "2021"
54
description = "A function exposed in python that generates a CLI doc from rust source code."
65
repository = "https://github.com/cpp-linter/cpp-linter-rs/tree/main/docs"
76
version = "0.1.0"
7+
edition.workspace = true
88
authors.workspace = true
99
license.workspace = true
1010

docs/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "cli-gen"
77
description = "Generate cpp-linter CLI doc from rust src."
88
readme = "README.md"
99
license = "MIT"
10-
requires-python = ">=3.9"
10+
requires-python = ">=3.10"
1111
authors = [
1212
{ name = "Brendan Doherty", email = "2bndy5@gmail.com" },
1313
]
@@ -16,10 +16,10 @@ dynamic = ["version"]
1616

1717
[dependency-groups]
1818
dev = [
19-
"maturin==1.11.5",
20-
"mypy==1.19.1",
19+
"maturin==1.13.3",
20+
"mypy==2.1.0",
2121
"patchelf==0.17.2.2 ; sys_platform == 'linux'",
22-
"ruff==0.14.13",
22+
"ruff==0.15.16",
2323
]
2424
docs = [
2525
"markdown-gfm-admonition==0.3.0",

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description = "Run clang-format and clang-tidy on a batch of files."
88
readme = "bindings/python/README.md"
99
keywords = ["clang", "clang-tools", "linter", "clang-tidy", "clang-format"]
1010
license = "MIT"
11-
requires-python = ">=3.9"
11+
requires-python = ">=3.10"
1212
authors = [
1313
{ name = "Brendan Doherty", email = "2bndy5@gmail.com" },
1414
{ name = "Xianpeng Shen", email = "xianpeng.shen@gmail.com" },
@@ -54,10 +54,10 @@ manifest-path = "bindings/python/Cargo.toml"
5454
[dependency-groups]
5555
dev = [
5656
"maturin==1.13.3",
57-
"mypy==1.19.1",
57+
"mypy==2.1.0",
5858
"patchelf==0.17.2.2 ; sys_platform == 'linux'",
5959
"pre-commit>=4.3.0",
60-
"ruff==0.14.13",
60+
"ruff==0.15.16",
6161
]
6262
test = [
6363
"meson==1.10.2",

0 commit comments

Comments
 (0)