Skip to content

Commit 28d3172

Browse files
committed
build and test on fedora 43, python 3.14
1 parent c59d5ae commit 28d3172

File tree

14 files changed

+688
-657
lines changed

14 files changed

+688
-657
lines changed

.pre-commit-config.yaml

Lines changed: 56 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,63 @@
11
repos:
2-
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.9.6
4-
hooks:
5-
- id: ruff
6-
args: [ --fix ]
7-
- id: ruff-format
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
rev: v0.15.0
4+
hooks:
5+
- id: ruff
6+
args: [--fix]
7+
- id: ruff-format
88

9-
- repo: https://github.com/RobertCraigie/pyright-python
10-
rev: v1.1.394
11-
hooks:
12-
- id: pyright
9+
- repo: https://github.com/DetachHead/basedpyright-pre-commit-mirror
10+
rev: v1.13.0 # or whatever the latest version is at the time
11+
hooks:
12+
- id: basedpyright
1313

14-
- repo: local
15-
hooks:
16-
- id: generate requirements
17-
name: generate requirements
18-
entry: uv export --no-hashes --no-dev -o requirements.txt
19-
language: system
20-
pass_filenames: false
21-
- id: safety
22-
name: safety
23-
entry: uv run safety
24-
language: system
25-
pass_filenames: false
26-
- id: make docs
27-
name: make docs
28-
entry: uv run handsdown --cleanup -o documentation/reference
29-
language: system
30-
pass_filenames: false
31-
- id: build package
32-
name: build package
33-
entry: uv build
34-
language: system
35-
pass_filenames: false
36-
- id: pytest
37-
name: pytest
38-
entry: uv run pytest
39-
language: system
40-
pass_filenames: false
14+
- repo: local
15+
hooks:
16+
- id: generate requirements
17+
name: generate requirements
18+
entry: uv export --no-hashes --no-dev -o requirements.txt
19+
language: system
20+
pass_filenames: false
4121

42-
- repo: https://github.com/pre-commit/pre-commit-hooks
43-
rev: v5.0.0
44-
hooks:
45-
- id: trailing-whitespace
46-
- id: end-of-file-fixer
47-
- id: check-case-conflict
48-
- id: check-executables-have-shebangs
49-
- id: check-json
50-
- id: check-merge-conflict
51-
- id: check-shebang-scripts-are-executable
52-
- id: check-symlinks
53-
- id: check-toml
54-
- id: check-vcs-permalinks
55-
- id: check-yaml
56-
- id: detect-private-key
57-
- id: mixed-line-ending
22+
# - id: make docs
23+
# name: make docs
24+
# entry: uv run handsdown --cleanup -o documentation/reference
25+
# language: system
26+
# pass_filenames: false
27+
- id: build package
28+
name: build package
29+
entry: uv build
30+
language: system
31+
pass_filenames: false
32+
- id: pytest
33+
name: pytest
34+
entry: uv run pytest
35+
language: system
36+
pass_filenames: false
5837

59-
- repo: https://github.com/boidolr/pre-commit-images
60-
rev: v1.8.4
61-
hooks:
62-
- id: optimize-jpg
63-
- id: optimize-png
64-
- id: optimize-svg
65-
- id: optimize-webp
38+
- repo: https://github.com/pre-commit/pre-commit-hooks
39+
rev: v6.0.0
40+
hooks:
41+
- id: trailing-whitespace
42+
- id: end-of-file-fixer
43+
- id: check-case-conflict
44+
- id: check-executables-have-shebangs
45+
- id: check-json
46+
- id: check-merge-conflict
47+
- id: check-shebang-scripts-are-executable
48+
- id: check-symlinks
49+
- id: check-toml
50+
- id: check-vcs-permalinks
51+
- id: check-yaml
52+
- id: detect-private-key
53+
- id: mixed-line-ending
54+
55+
- repo: https://github.com/boidolr/pre-commit-images
56+
rev: v1.11.0
57+
hooks:
58+
- id: optimize-jpg
59+
- id: optimize-png
60+
- id: optimize-svg
61+
- id: optimize-webp
6662

6763
exclude: "tests/data|documentation/reference"

documentation/reference/README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# Tstickers Index
2-
3-
> Auto-generated documentation index.
4-
5-
A full list of `Tstickers` project modules.
6-
7-
- [Tstickers](tstickers/index.md#tstickers)
8-
- [Module](tstickers/module.md#module)
9-
- [Caching](tstickers/caching.md#caching)
10-
- [Cli](tstickers/cli.md#cli)
11-
- [Convert](tstickers/convert.md#convert)
12-
- [Convert Pyrlottie](tstickers/convert_pyrlottie.md#convert-pyrlottie)
13-
- [Convert Rlottie Python](tstickers/convert_rlottie_python.md#convert-rlottie-python)
14-
- [Manager](tstickers/manager.md#manager)
1+
# Tstickers Index
2+
3+
> Auto-generated documentation index.
4+
5+
A full list of `Tstickers` project modules.
6+
7+
- [Tstickers](tstickers/index.md#tstickers)
8+
- [Module](tstickers/module.md#module)
9+
- [Caching](tstickers/caching.md#caching)
10+
- [Cli](tstickers/cli.md#cli)
11+
- [Convert](tstickers/convert.md#convert)
12+
- [Convert Pyrlottie](tstickers/convert_pyrlottie.md#convert-pyrlottie)
13+
- [Convert Rlottie Python](tstickers/convert_rlottie_python.md#convert-rlottie-python)
14+
- [Manager](tstickers/manager.md#manager)
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Cli
2-
3-
[Tstickers Index](../README.md#tstickers-index) / [Tstickers](./index.md#tstickers) / Cli
4-
5-
> Auto-generated documentation for [tstickers.cli](../../../tstickers/cli.py) module.
6-
7-
- [Cli](#cli)
8-
- [cli](#cli)
9-
10-
## cli
11-
12-
[Show source in cli.py:20](../../../tstickers/cli.py#L20)
13-
14-
Cli entry point.
15-
16-
#### Signature
17-
18-
```python
19-
def cli() -> None: ...
1+
# Cli
2+
3+
[Tstickers Index](../README.md#tstickers-index) / [Tstickers](./index.md#tstickers) / Cli
4+
5+
> Auto-generated documentation for [tstickers.cli](../../../tstickers/cli.py) module.
6+
7+
- [Cli](#cli)
8+
- [cli](#cli)
9+
10+
## cli
11+
12+
[Show source in cli.py:20](../../../tstickers/cli.py#L20)
13+
14+
Cli entry point.
15+
16+
#### Signature
17+
18+
```python
19+
def cli() -> None: ...
2020
```

0 commit comments

Comments
 (0)