dycw-pre-commit-hooks 0.9.18__tar.gz → 0.9.23__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/.github/workflows/push.yml +5 -2
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/.pre-commit-config.yaml +3 -3
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/PKG-INFO +2 -3
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pre_commit_hooks/__init__.py +1 -1
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pre_commit_hooks/run_uv_pip_compile/__init__.py +1 -1
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pyproject.toml +28 -17
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/requirements.txt +23 -27
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/.envrc +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/.gitignore +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/.pre-commit-hooks.yaml +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/README.md +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pre_commit_hooks/common.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pre_commit_hooks/py.typed +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pre_commit_hooks/run_bump2version/__init__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pre_commit_hooks/run_bump2version/__main__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pre_commit_hooks/run_dockfmt/__init__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pre_commit_hooks/run_dockfmt/__main__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pre_commit_hooks/run_hatch_version/__init__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pre_commit_hooks/run_hatch_version/__main__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pre_commit_hooks/run_ruff_format/__init__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pre_commit_hooks/run_ruff_format/__main__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/pre_commit_hooks/run_uv_pip_compile/__main__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/tests/__init__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/tests/test_main.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/try-repo/run-bump2version.sh +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/try-repo/run-dockfmt.sh +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/try-repo/run-hatch-version.sh +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/try-repo/run-ruff-format.sh +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/try-repo/run-uv-pip-compile.sh +0 -0
|
@@ -23,8 +23,11 @@ jobs:
|
|
|
23
23
|
needs: tag
|
|
24
24
|
steps:
|
|
25
25
|
- uses: actions/checkout@v3
|
|
26
|
-
- run:
|
|
27
|
-
|
|
26
|
+
- run: |
|
|
27
|
+
python -m venv venv
|
|
28
|
+
source venv/bin/activate
|
|
29
|
+
python -m pip install --upgrade pip hatch
|
|
30
|
+
hatch build
|
|
28
31
|
- uses: actions/upload-artifact@v3
|
|
29
32
|
with:
|
|
30
33
|
name: artifacts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
repos:
|
|
2
2
|
# fixers
|
|
3
3
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
4
|
-
rev: v0.
|
|
4
|
+
rev: v0.6.9
|
|
5
5
|
hooks:
|
|
6
6
|
- id: ruff
|
|
7
7
|
args: [--fix]
|
|
8
8
|
- id: ruff-format
|
|
9
9
|
- repo: https://github.com/dycw/pre-commit-hooks
|
|
10
|
-
rev: 0.9.
|
|
10
|
+
rev: 0.9.19
|
|
11
11
|
hooks:
|
|
12
12
|
- id: run-hatch-version
|
|
13
13
|
- id: run-ruff-format
|
|
@@ -27,7 +27,7 @@ repos:
|
|
|
27
27
|
hooks:
|
|
28
28
|
- id: prettier
|
|
29
29
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
30
|
-
rev:
|
|
30
|
+
rev: v5.0.0
|
|
31
31
|
hooks:
|
|
32
32
|
- id: check-executables-have-shebangs
|
|
33
33
|
- id: check-merge-conflict
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: dycw-pre-commit-hooks
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.23
|
|
4
4
|
Author-email: Derek Wan <d.wan@icloud.com>
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Requires-Dist: click<8.2,>=8.1.7
|
|
7
|
-
Requires-Dist: dycw-utilities<0.
|
|
7
|
+
Requires-Dist: dycw-utilities<0.59,>=0.58.16
|
|
8
8
|
Requires-Dist: loguru<0.8,>=0.7.2
|
|
9
9
|
Requires-Dist: semver<3.1,>=3.0.2
|
|
10
10
|
Requires-Dist: tomlkit<0.14,>=0.13.2
|
|
11
11
|
Requires-Dist: xdg-base-dirs<6.1,>=6.0.1
|
|
12
12
|
Provides-Extra: dev
|
|
13
|
-
Requires-Dist: basedpyright<1.17,>=1.16.0; extra == 'dev'
|
|
14
13
|
Requires-Dist: dycw-utilities[test]; extra == 'dev'
|
|
15
14
|
Requires-Dist: hatch<1.13,>=1.12.0; extra == 'dev'
|
|
16
15
|
Description-Content-Type: text/markdown
|
|
@@ -9,7 +9,7 @@ requires = ["hatchling"]
|
|
|
9
9
|
authors = [{name = "Derek Wan", email = "d.wan@icloud.com"}]
|
|
10
10
|
dependencies = [
|
|
11
11
|
"click >= 8.1.7, < 8.2",
|
|
12
|
-
"dycw-utilities >= 0.
|
|
12
|
+
"dycw-utilities >= 0.58.16, < 0.59",
|
|
13
13
|
"loguru >= 0.7.2, < 0.8",
|
|
14
14
|
"semver >= 3.0.2, < 3.1",
|
|
15
15
|
"tomlkit >= 0.13.2, < 0.14",
|
|
@@ -22,7 +22,6 @@ requires-python = ">= 3.11"
|
|
|
22
22
|
|
|
23
23
|
[project.optional-dependencies]
|
|
24
24
|
dev = [
|
|
25
|
-
"basedpyright >= 1.16.0, < 1.17",
|
|
26
25
|
"dycw-utilities[test]",
|
|
27
26
|
"hatch >= 1.12.0, < 1.13",
|
|
28
27
|
]
|
|
@@ -34,21 +33,6 @@ run-hatch-version = "pre_commit_hooks.run_hatch_version:main"
|
|
|
34
33
|
run-ruff-format = "pre_commit_hooks.run_ruff_format:main"
|
|
35
34
|
run-uv-pip-compile = "pre_commit_hooks.run_uv_pip_compile:main"
|
|
36
35
|
|
|
37
|
-
# basedpyright
|
|
38
|
-
[tool.basedpyright]
|
|
39
|
-
include = ["src"]
|
|
40
|
-
pythonVersion = "3.11"
|
|
41
|
-
reportAny = false
|
|
42
|
-
reportMissingTypeArgument = false
|
|
43
|
-
reportMissingTypeStubs = false
|
|
44
|
-
reportPrivateUsage = false
|
|
45
|
-
reportUnknownArgumentType = false
|
|
46
|
-
reportUnknownMemberType = false
|
|
47
|
-
reportUnknownParameterType = false
|
|
48
|
-
reportUnknownVariableType = false
|
|
49
|
-
reportUnusedImport = false
|
|
50
|
-
reportUnusedVariable = false
|
|
51
|
-
|
|
52
36
|
# coverage
|
|
53
37
|
[tool.coverage]
|
|
54
38
|
|
|
@@ -85,6 +69,33 @@ style = [
|
|
|
85
69
|
"https://raw.githubusercontent.com/dycw/nitpick/master/styles/common.toml",
|
|
86
70
|
]
|
|
87
71
|
|
|
72
|
+
# pyright
|
|
73
|
+
[tool.pyright]
|
|
74
|
+
deprecateTypingAliases = true
|
|
75
|
+
enableReachabilityAnalysis = false
|
|
76
|
+
pythonVersion = "3.11"
|
|
77
|
+
reportAny = false
|
|
78
|
+
reportCallInDefaultInitializer = true
|
|
79
|
+
reportImplicitOverride = true
|
|
80
|
+
reportImplicitStringConcatenation = true
|
|
81
|
+
reportImportCycles = true
|
|
82
|
+
reportMissingSuperCall = true
|
|
83
|
+
reportMissingTypeArgument = false
|
|
84
|
+
reportMissingTypeStubs = false
|
|
85
|
+
reportPrivateUsage = false
|
|
86
|
+
reportPropertyTypeMismatch = true
|
|
87
|
+
reportShadowedImports = true
|
|
88
|
+
reportUninitializedInstanceVariable = true
|
|
89
|
+
reportUnknownArgumentType = false
|
|
90
|
+
reportUnknownMemberType = false
|
|
91
|
+
reportUnknownParameterType = false
|
|
92
|
+
reportUnknownVariableType = false
|
|
93
|
+
reportUnnecessaryTypeIgnoreComment = true
|
|
94
|
+
reportUnusedCallResult = true
|
|
95
|
+
reportUnusedImport = false
|
|
96
|
+
reportUnusedVariable = false
|
|
97
|
+
typeCheckingMode = "strict"
|
|
98
|
+
|
|
88
99
|
# pytest
|
|
89
100
|
[tool.pytest]
|
|
90
101
|
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
# This file was autogenerated by uv via the following command:
|
|
2
|
-
# uv pip compile --extra=dev --prerelease=
|
|
3
|
-
anyio==4.
|
|
2
|
+
# uv pip compile --extra=dev --prerelease=explicit --output-file=requirements.txt --python-version=3.11 pyproject.toml
|
|
3
|
+
anyio==4.6.0
|
|
4
4
|
# via httpx
|
|
5
5
|
attrs==24.2.0
|
|
6
6
|
# via hypothesis
|
|
7
7
|
backports-tarfile==1.2.0
|
|
8
8
|
# via jaraco-context
|
|
9
|
-
|
|
10
|
-
# via dycw-pre-commit-hooks (pyproject.toml)
|
|
11
|
-
certifi==2024.7.4
|
|
9
|
+
certifi==2024.8.30
|
|
12
10
|
# via
|
|
13
11
|
# httpcore
|
|
14
12
|
# httpx
|
|
@@ -17,13 +15,13 @@ click==8.1.7
|
|
|
17
15
|
# dycw-pre-commit-hooks (pyproject.toml)
|
|
18
16
|
# hatch
|
|
19
17
|
# userpath
|
|
20
|
-
distlib==0.3.
|
|
18
|
+
distlib==0.3.9
|
|
21
19
|
# via virtualenv
|
|
22
|
-
dycw-utilities==0.
|
|
20
|
+
dycw-utilities==0.58.16
|
|
23
21
|
# via dycw-pre-commit-hooks (pyproject.toml)
|
|
24
22
|
execnet==2.1.1
|
|
25
23
|
# via pytest-xdist
|
|
26
|
-
filelock==3.
|
|
24
|
+
filelock==3.16.1
|
|
27
25
|
# via virtualenv
|
|
28
26
|
h11==0.14.0
|
|
29
27
|
# via httpcore
|
|
@@ -31,30 +29,30 @@ hatch==1.12.0
|
|
|
31
29
|
# via dycw-pre-commit-hooks (pyproject.toml)
|
|
32
30
|
hatchling==1.25.0
|
|
33
31
|
# via hatch
|
|
34
|
-
httpcore==1.0.
|
|
32
|
+
httpcore==1.0.6
|
|
35
33
|
# via httpx
|
|
36
|
-
httpx==0.27.
|
|
34
|
+
httpx==0.27.2
|
|
37
35
|
# via hatch
|
|
38
36
|
hyperlink==21.0.0
|
|
39
37
|
# via hatch
|
|
40
|
-
hypothesis==6.
|
|
38
|
+
hypothesis==6.112.5
|
|
41
39
|
# via dycw-utilities
|
|
42
|
-
idna==3.
|
|
40
|
+
idna==3.10
|
|
43
41
|
# via
|
|
44
42
|
# anyio
|
|
45
43
|
# httpx
|
|
46
44
|
# hyperlink
|
|
47
|
-
importlib-metadata==8.
|
|
45
|
+
importlib-metadata==8.5.0
|
|
48
46
|
# via keyring
|
|
49
47
|
iniconfig==2.0.0
|
|
50
48
|
# via pytest
|
|
51
49
|
jaraco-classes==3.4.0
|
|
52
50
|
# via keyring
|
|
53
|
-
jaraco-context==
|
|
51
|
+
jaraco-context==6.0.1
|
|
54
52
|
# via keyring
|
|
55
|
-
jaraco-functools==4.0
|
|
53
|
+
jaraco-functools==4.1.0
|
|
56
54
|
# via keyring
|
|
57
|
-
keyring==25.
|
|
55
|
+
keyring==25.4.1
|
|
58
56
|
# via hatch
|
|
59
57
|
loguru==0.7.2
|
|
60
58
|
# via dycw-pre-commit-hooks (pyproject.toml)
|
|
@@ -62,12 +60,10 @@ markdown-it-py==3.0.0
|
|
|
62
60
|
# via rich
|
|
63
61
|
mdurl==0.1.2
|
|
64
62
|
# via markdown-it-py
|
|
65
|
-
more-itertools==10.
|
|
63
|
+
more-itertools==10.5.0
|
|
66
64
|
# via
|
|
67
65
|
# jaraco-classes
|
|
68
66
|
# jaraco-functools
|
|
69
|
-
nodejs-wheel-binaries==20.16.0
|
|
70
|
-
# via basedpyright
|
|
71
67
|
packaging==24.1
|
|
72
68
|
# via
|
|
73
69
|
# hatch
|
|
@@ -78,7 +74,7 @@ pathspec==0.12.1
|
|
|
78
74
|
# via hatchling
|
|
79
75
|
pexpect==4.9.0
|
|
80
76
|
# via hatch
|
|
81
|
-
platformdirs==4.
|
|
77
|
+
platformdirs==4.3.6
|
|
82
78
|
# via
|
|
83
79
|
# hatch
|
|
84
80
|
# virtualenv
|
|
@@ -90,7 +86,7 @@ ptyprocess==0.7.0
|
|
|
90
86
|
# via pexpect
|
|
91
87
|
pygments==2.18.0
|
|
92
88
|
# via rich
|
|
93
|
-
pytest==8.3.
|
|
89
|
+
pytest==8.3.3
|
|
94
90
|
# via
|
|
95
91
|
# dycw-utilities
|
|
96
92
|
# pytest-randomly
|
|
@@ -102,7 +98,7 @@ pytest-rerunfailures==14.0
|
|
|
102
98
|
# via dycw-utilities
|
|
103
99
|
pytest-xdist==3.6.1
|
|
104
100
|
# via dycw-utilities
|
|
105
|
-
rich==13.
|
|
101
|
+
rich==13.9.2
|
|
106
102
|
# via hatch
|
|
107
103
|
semver==3.0.2
|
|
108
104
|
# via dycw-pre-commit-hooks (pyproject.toml)
|
|
@@ -114,25 +110,25 @@ sniffio==1.3.1
|
|
|
114
110
|
# httpx
|
|
115
111
|
sortedcontainers==2.4.0
|
|
116
112
|
# via hypothesis
|
|
117
|
-
tomli-w==1.
|
|
113
|
+
tomli-w==1.1.0
|
|
118
114
|
# via hatch
|
|
119
115
|
tomlkit==0.13.2
|
|
120
116
|
# via
|
|
121
117
|
# dycw-pre-commit-hooks (pyproject.toml)
|
|
122
118
|
# hatch
|
|
123
|
-
trove-classifiers==2024.
|
|
119
|
+
trove-classifiers==2024.9.12
|
|
124
120
|
# via hatchling
|
|
125
121
|
typing-extensions==4.12.2
|
|
126
122
|
# via dycw-utilities
|
|
127
123
|
userpath==1.9.2
|
|
128
124
|
# via hatch
|
|
129
|
-
uv==0.
|
|
125
|
+
uv==0.4.20
|
|
130
126
|
# via hatch
|
|
131
|
-
virtualenv==20.26.
|
|
127
|
+
virtualenv==20.26.6
|
|
132
128
|
# via hatch
|
|
133
129
|
xdg-base-dirs==6.0.1
|
|
134
130
|
# via dycw-pre-commit-hooks (pyproject.toml)
|
|
135
|
-
zipp==3.20.
|
|
131
|
+
zipp==3.20.2
|
|
136
132
|
# via importlib-metadata
|
|
137
133
|
zstandard==0.23.0
|
|
138
134
|
# via hatch
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.23}/try-repo/run-uv-pip-compile.sh
RENAMED
|
File without changes
|