Skip to content

Commit 0d4a09f

Browse files
committed
Python 3.14
1 parent 68f277f commit 0d4a09f

32 files changed

Lines changed: 46 additions & 62 deletions

.pre-commit-config.yaml

Lines changed: 32 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
default_language_version:
2+
python: python3.14
3+
14
repos:
25
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v5.0.0
6+
rev: v6.0.0
47
hooks:
58
- id: check-added-large-files
69
- id: check-ast
@@ -16,36 +19,47 @@ repos:
1619
- id: mixed-line-ending
1720
- id: trailing-whitespace
1821
- repo: https://github.com/asottile/pyupgrade
19-
rev: v3.19.1
22+
rev: v3.21.0
2023
hooks:
2124
- id: pyupgrade
22-
args: [--py313-plus] # py314 when available
25+
args: [--py314-plus]
2326
- repo: https://github.com/pre-commit/mirrors-mypy
24-
rev: v1.14.1
27+
rev: v1.18.2
2528
hooks:
2629
- id: mypy
2730
additional_dependencies: [
28-
types-cryptography,
29-
types-requests,
30-
types-waitress,
31-
types-psutil,
32-
types-flask,
33-
types-tqdm
31+
"zstandard[cffi]",
32+
"pycryptodomex",
33+
"cryptography",
34+
"argcomplete",
35+
"requests",
36+
"tqdm",
37+
"zstdlib>=0.3.2",
38+
"waitress",
39+
"flask",
40+
"human_readable",
41+
"psutil",
42+
"types-cryptography",
43+
"types-requests",
44+
"types-waitress",
45+
"types-psutil",
46+
"types-flask",
47+
"types-tqdm",
48+
"types-psutil",
3449
]
35-
args: [--ignore-missing-imports]
3650

3751
#
3852
# Fail fast
3953
#
4054

4155
- repo: https://github.com/abravalheri/validate-pyproject
42-
rev: v0.23
56+
rev: v0.24.1
4357
hooks:
4458
- id: validate-pyproject
4559
fail_fast: true
4660

4761
- repo: https://github.com/pre-commit/pre-commit-hooks
48-
rev: v5.0.0
62+
rev: v6.0.0
4963
hooks:
5064
# Syntax
5165
- id: check-toml
@@ -56,7 +70,7 @@ repos:
5670
fail_fast: true
5771

5872
- repo: https://github.com/pre-commit/pre-commit-hooks
59-
rev: v5.0.0
73+
rev: v6.0.0
6074
hooks:
6175
- id: check-ast
6276
fail_fast: true
@@ -72,7 +86,7 @@ repos:
7286

7387
# Last modifier: Coding Standard
7488
- repo: https://github.com/psf/black
75-
rev: 25.1.0
89+
rev: 25.9.0
7690
hooks:
7791
- id: black
7892

@@ -97,20 +111,19 @@ repos:
97111
- id: vulture
98112

99113
- repo: https://github.com/charliermarsh/ruff-pre-commit
100-
rev: v0.9.4
114+
rev: v0.14.2
101115
hooks:
102116
- id: ruff
103117

104118
- repo: https://github.com/pycqa/pylint
105-
rev: v3.3.4
119+
rev: v4.0.2
106120
hooks:
107121
- id: pylint
108122
args: [--disable=import-error]
109123

110124
- repo: https://github.com/PyCQA/bandit
111-
rev: 1.8.2
125+
rev: 1.8.6
112126
hooks:
113127
- id: bandit
114128
additional_dependencies: [".[toml]"]
115129
args: ["-c", "pyproject.toml", "-r", "."]
116-

pyproject.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ dependencies = [
1919
# Client
2020
"zstandard[cffi]",
2121
"pycryptodomex",
22-
"cryptography",
23-
"argcomplete",
22+
"cryptography",
23+
"argcomplete",
2424
"requests",
2525
"tqdm",
2626
# Server
@@ -58,17 +58,17 @@ attr = "rpipe.__version__"
5858

5959
[tool.pylint]
6060
disable = [
61-
"unnecessary-lambda-assignment",
62-
"missing-function-docstring",
63-
"missing-module-docstring",
64-
"missing-class-docstring",
65-
"too-few-public-methods",
66-
"line-too-long"
61+
"unnecessary-lambda-assignment",
62+
"missing-function-docstring",
63+
"missing-module-docstring",
64+
"missing-class-docstring",
65+
"too-few-public-methods",
66+
"line-too-long"
6767
]
6868

6969
[tool.black]
7070
line-length = 110
71-
target-version = ["py313"] # py314 when available
71+
target-version = ["py314"]
7272

7373
[tool.ruff]
7474
line-length = 110

rpipe/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__: str = "11.0.0" # Must be "<major>.<minor>.<patch>", all numbers
1+
__version__: str = "11.0.1" # Must be "<major>.<minor>.<patch>", all numbers

rpipe/client/admin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import annotations
21
from typing import TYPE_CHECKING, cast
32
from collections.abc import Callable
43
from collections import deque

rpipe/client/cli.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import annotations
21
from multiprocessing import cpu_count
32
from pathlib import Path
43
import argparse

rpipe/client/client/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import annotations
21
from typing import TYPE_CHECKING
32
from logging import getLogger
43
from json import dumps

rpipe/client/client/crypt.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import annotations
21
from typing import TYPE_CHECKING, NamedTuple
32
from logging import getLogger
43
import hashlib

rpipe/client/client/data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import annotations
21
from dataclasses import dataclass, asdict, fields
32
from typing import TYPE_CHECKING
43
from urllib.parse import quote

rpipe/client/client/delete.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import annotations
21
from typing import TYPE_CHECKING
32
from logging import getLogger
43

rpipe/client/client/progress.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import annotations
21
from typing import TYPE_CHECKING, Self
32
from logging import getLogger
43

0 commit comments

Comments
 (0)