dycw-pre-commit-hooks 0.9.18__tar.gz → 0.9.19__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.
Potentially problematic release.
This version of dycw-pre-commit-hooks might be problematic. Click here for more details.
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/.pre-commit-config.yaml +2 -2
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/PKG-INFO +2 -3
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pre_commit_hooks/__init__.py +1 -1
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pre_commit_hooks/run_uv_pip_compile/__init__.py +1 -1
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pyproject.toml +28 -17
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/requirements.txt +11 -15
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/.envrc +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/.github/workflows/push.yml +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/.gitignore +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/.pre-commit-hooks.yaml +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/README.md +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pre_commit_hooks/common.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pre_commit_hooks/py.typed +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pre_commit_hooks/run_bump2version/__init__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pre_commit_hooks/run_bump2version/__main__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pre_commit_hooks/run_dockfmt/__init__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pre_commit_hooks/run_dockfmt/__main__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pre_commit_hooks/run_hatch_version/__init__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pre_commit_hooks/run_hatch_version/__main__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pre_commit_hooks/run_ruff_format/__init__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pre_commit_hooks/run_ruff_format/__main__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/pre_commit_hooks/run_uv_pip_compile/__main__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/tests/__init__.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/tests/test_main.py +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/try-repo/run-bump2version.sh +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/try-repo/run-dockfmt.sh +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/try-repo/run-hatch-version.sh +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/try-repo/run-ruff-format.sh +0 -0
- {dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/try-repo/run-uv-pip-compile.sh +0 -0
|
@@ -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.4
|
|
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.18
|
|
11
11
|
hooks:
|
|
12
12
|
- id: run-hatch-version
|
|
13
13
|
- id: run-ruff-format
|
|
@@ -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.19
|
|
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.53,>=0.52.5
|
|
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.52.5, < 0.53",
|
|
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
|
|
|
@@ -6,9 +6,7 @@ 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
|
|
@@ -19,7 +17,7 @@ click==8.1.7
|
|
|
19
17
|
# userpath
|
|
20
18
|
distlib==0.3.8
|
|
21
19
|
# via virtualenv
|
|
22
|
-
dycw-utilities==0.
|
|
20
|
+
dycw-utilities==0.52.5
|
|
23
21
|
# via dycw-pre-commit-hooks (pyproject.toml)
|
|
24
22
|
execnet==2.1.1
|
|
25
23
|
# via pytest-xdist
|
|
@@ -33,24 +31,24 @@ hatchling==1.25.0
|
|
|
33
31
|
# via hatch
|
|
34
32
|
httpcore==1.0.5
|
|
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.111.
|
|
38
|
+
hypothesis==6.111.2
|
|
41
39
|
# via dycw-utilities
|
|
42
|
-
idna==3.
|
|
40
|
+
idna==3.8
|
|
43
41
|
# via
|
|
44
42
|
# anyio
|
|
45
43
|
# httpx
|
|
46
44
|
# hyperlink
|
|
47
|
-
importlib-metadata==8.
|
|
45
|
+
importlib-metadata==8.4.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
53
|
jaraco-functools==4.0.2
|
|
56
54
|
# via keyring
|
|
@@ -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
|
|
@@ -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.8.0
|
|
106
102
|
# via hatch
|
|
107
103
|
semver==3.0.2
|
|
108
104
|
# via dycw-pre-commit-hooks (pyproject.toml)
|
|
@@ -126,13 +122,13 @@ 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.6
|
|
130
126
|
# via hatch
|
|
131
127
|
virtualenv==20.26.3
|
|
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.1
|
|
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
|
|
File without changes
|
{dycw_pre_commit_hooks-0.9.18 → dycw_pre_commit_hooks-0.9.19}/try-repo/run-uv-pip-compile.sh
RENAMED
|
File without changes
|