Skip to content

Commit

Permalink
⬆️ deps: drop python 3.8 support (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo authored Oct 26, 2024
1 parent 5585168 commit 15e0562
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
python-version: ["3.9"]
name: lint and format - Python ${{ matrix.python-version }}
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
name: unittest - Python ${{ matrix.python-version }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ cmakelint can also be run with [pre-commit](https://pre-commit.com). Add the fol
- id: cmakelint
```
# Output status codes
## Output status codes
The program should exit with the following status codes:
- 0 if everything went fine
- 1 if an error message was issued
- 32 on usage error
- `0` if everything went fine
- `1` if an error message was issued
- `32` on usage error
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test:
uv run pytest
just clean

snapshot:
snapshot-update:
uv run pytest --snapshot-update

build:
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "cmake-lint-paddle"
description = "A fork of cmake-lint for PaddlePaddle"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
authors = [
{ name = "Richard Quirk", email = "[email protected]" },
{ name = "Nyakku Shigure", email = "[email protected]" },
Expand All @@ -19,7 +19,6 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -43,8 +42,8 @@ where = ["src"]
[tool.setuptools.dynamic]
version = { attr = "cmakelint.__version__.VERSION" }

[tool.uv]
dev-dependencies = ["ruff>=0.6.0", "pytest>=7.4.4", "syrupy>=3"]
[dependency-groups]
dev = ["pytest>=8.3.3", "ruff>=0.7.1", "syrupy>=4.7.2"]

[tool.ruff]
line-length = 120
Expand Down
1 change: 1 addition & 0 deletions tests/test_cli/__snapshots__/test_blender.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_blender_check
dict({
'status': 1,
Expand Down
1 change: 1 addition & 0 deletions tests/test_cli/__snapshots__/test_llvm.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_llvm_check
dict({
'status': 1,
Expand Down
1 change: 1 addition & 0 deletions tests/test_cli/__snapshots__/test_opencv.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_opencv_check
dict({
'status': 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_invocation
dict({
'status': 0,
Expand Down
75 changes: 34 additions & 41 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 15e0562

Please sign in to comment.