dycw-pre-commit-hooks 0.9.23__tar.gz → 0.9.24__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.

Files changed (30) hide show
  1. dycw_pre_commit_hooks-0.9.24/.envrc +2 -0
  2. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/.pre-commit-config.yaml +3 -3
  3. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/PKG-INFO +9 -8
  4. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/__init__.py +1 -1
  5. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pyproject.toml +8 -8
  6. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/requirements.txt +68 -32
  7. dycw_pre_commit_hooks-0.9.23/.envrc +0 -1
  8. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/.github/workflows/push.yml +0 -0
  9. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/.gitignore +0 -0
  10. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/.pre-commit-hooks.yaml +0 -0
  11. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/README.md +0 -0
  12. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/common.py +0 -0
  13. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/py.typed +0 -0
  14. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_bump2version/__init__.py +0 -0
  15. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_bump2version/__main__.py +0 -0
  16. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_dockfmt/__init__.py +0 -0
  17. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_dockfmt/__main__.py +0 -0
  18. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_hatch_version/__init__.py +0 -0
  19. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_hatch_version/__main__.py +0 -0
  20. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_ruff_format/__init__.py +0 -0
  21. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_ruff_format/__main__.py +0 -0
  22. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_uv_pip_compile/__init__.py +0 -0
  23. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_uv_pip_compile/__main__.py +0 -0
  24. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/tests/__init__.py +0 -0
  25. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/tests/test_main.py +0 -0
  26. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/try-repo/run-bump2version.sh +0 -0
  27. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/try-repo/run-dockfmt.sh +0 -0
  28. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/try-repo/run-hatch-version.sh +0 -0
  29. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/try-repo/run-ruff-format.sh +0 -0
  30. {dycw_pre_commit_hooks-0.9.23 → dycw_pre_commit_hooks-0.9.24}/try-repo/run-uv-pip-compile.sh +0 -0
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env bash
2
+ layout pyenv 3.11.10
@@ -1,13 +1,13 @@
1
1
  repos:
2
2
  # fixers
3
3
  - repo: https://github.com/astral-sh/ruff-pre-commit
4
- rev: v0.6.9
4
+ rev: v0.9.3
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.19
10
+ rev: 0.9.23
11
11
  hooks:
12
12
  - id: run-hatch-version
13
13
  - id: run-ruff-format
@@ -19,7 +19,7 @@ repos:
19
19
  - id: pretty-format-toml
20
20
  args: [--autofix, --trailing-commas]
21
21
  - repo: https://github.com/pamoller/xmlformatter
22
- rev: v0.2.6
22
+ rev: v0.2.8
23
23
  hooks:
24
24
  - id: xml-formatter
25
25
  - repo: https://github.com/pre-commit/mirrors-prettier
@@ -1,17 +1,18 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: dycw-pre-commit-hooks
3
- Version: 0.9.23
3
+ Version: 0.9.24
4
4
  Author-email: Derek Wan <d.wan@icloud.com>
5
5
  Requires-Python: >=3.11
6
- Requires-Dist: click<8.2,>=8.1.7
7
- Requires-Dist: dycw-utilities<0.59,>=0.58.16
8
- Requires-Dist: loguru<0.8,>=0.7.2
9
- Requires-Dist: semver<3.1,>=3.0.2
6
+ Requires-Dist: click<8.2,>=8.1.8
7
+ Requires-Dist: dycw-utilities<0.93,>=0.92.10
8
+ Requires-Dist: loguru<0.8,>=0.7.3
9
+ Requires-Dist: semver<3.1,>=3.0.4
10
10
  Requires-Dist: tomlkit<0.14,>=0.13.2
11
- Requires-Dist: xdg-base-dirs<6.1,>=6.0.1
11
+ Requires-Dist: xdg-base-dirs<6.1,>=6.0.2
12
12
  Provides-Extra: dev
13
13
  Requires-Dist: dycw-utilities[test]; extra == 'dev'
14
- Requires-Dist: hatch<1.13,>=1.12.0; extra == 'dev'
14
+ Requires-Dist: hatch<1.15,>=1.14.0; extra == 'dev'
15
+ Requires-Dist: setuptools<75.9,>=75.8.0; extra == 'dev'
15
16
  Description-Content-Type: text/markdown
16
17
 
17
18
  # pre-commit-hooks
@@ -1,3 +1,3 @@
1
1
  from __future__ import annotations
2
2
 
3
- __version__ = "0.9.23"
3
+ __version__ = "0.9.24"
@@ -8,12 +8,12 @@ requires = ["hatchling"]
8
8
  [project]
9
9
  authors = [{name = "Derek Wan", email = "d.wan@icloud.com"}]
10
10
  dependencies = [
11
- "click >= 8.1.7, < 8.2",
12
- "dycw-utilities >= 0.58.16, < 0.59",
13
- "loguru >= 0.7.2, < 0.8",
14
- "semver >= 3.0.2, < 3.1",
11
+ "click >= 8.1.8, < 8.2",
12
+ "dycw-utilities >= 0.92.10, < 0.93",
13
+ "loguru >= 0.7.3, < 0.8",
14
+ "semver >= 3.0.4, < 3.1",
15
15
  "tomlkit >= 0.13.2, < 0.14",
16
- "xdg-base-dirs >= 6.0.1, < 6.1",
16
+ "xdg-base-dirs >= 6.0.2, < 6.1",
17
17
  ]
18
18
  dynamic = ["version"]
19
19
  name = "dycw-pre-commit-hooks"
@@ -23,7 +23,8 @@ requires-python = ">= 3.11"
23
23
  [project.optional-dependencies]
24
24
  dev = [
25
25
  "dycw-utilities[test]",
26
- "hatch >= 1.12.0, < 1.13",
26
+ "hatch >= 1.14.0, < 1.15",
27
+ "setuptools >= 75.8.0, < 75.9", # https://github.com/theY4Kman/pytest-only/issues/14
27
28
  ]
28
29
 
29
30
  [project.scripts]
@@ -118,9 +119,8 @@ preview = true
118
119
  [tool.ruff.lint]
119
120
  fixable = ["ALL"]
120
121
  ignore = [
121
- "ANN101", # missing-type-self
122
- "ANN102", # missing-type-cls
123
122
  "ANN401", # any-type
123
+ "ASYNC109", # async-function-with-timeout
124
124
  "C901", # complex-structure
125
125
  "D100", # undocumented-public-module
126
126
  "D101", # undocumented-public-class
@@ -1,48 +1,54 @@
1
1
  # This file was autogenerated by uv via the following command:
2
2
  # uv pip compile --extra=dev --prerelease=explicit --output-file=requirements.txt --python-version=3.11 pyproject.toml
3
- anyio==4.6.0
3
+ anyio==4.8.0
4
4
  # via httpx
5
- attrs==24.2.0
5
+ attrs==25.1.0
6
6
  # via hypothesis
7
7
  backports-tarfile==1.2.0
8
8
  # via jaraco-context
9
- certifi==2024.8.30
9
+ certifi==2024.12.14
10
10
  # via
11
11
  # httpcore
12
12
  # httpx
13
- click==8.1.7
13
+ click==8.1.8
14
14
  # via
15
15
  # dycw-pre-commit-hooks (pyproject.toml)
16
16
  # hatch
17
17
  # userpath
18
+ coverage==7.6.10
19
+ # via
20
+ # coverage-conditional-plugin
21
+ # pytest-cov
22
+ coverage-conditional-plugin==0.9.0
23
+ # via dycw-utilities
18
24
  distlib==0.3.9
19
25
  # via virtualenv
20
- dycw-utilities==0.58.16
26
+ dycw-utilities==0.92.10
21
27
  # via dycw-pre-commit-hooks (pyproject.toml)
22
28
  execnet==2.1.1
23
29
  # via pytest-xdist
24
- filelock==3.16.1
30
+ filelock==3.17.0
25
31
  # via virtualenv
26
32
  h11==0.14.0
27
33
  # via httpcore
28
- hatch==1.12.0
34
+ hatch==1.14.0
29
35
  # via dycw-pre-commit-hooks (pyproject.toml)
30
- hatchling==1.25.0
36
+ hatchling==1.27.0
31
37
  # via hatch
32
- httpcore==1.0.6
38
+ httpcore==1.0.7
33
39
  # via httpx
34
- httpx==0.27.2
40
+ httpx==0.28.1
35
41
  # via hatch
36
42
  hyperlink==21.0.0
37
43
  # via hatch
38
- hypothesis==6.112.5
44
+ hypothesis==6.124.7
39
45
  # via dycw-utilities
40
46
  idna==3.10
41
47
  # via
42
48
  # anyio
43
49
  # httpx
44
50
  # hyperlink
45
- importlib-metadata==8.5.0
51
+ importlib-metadata==8.6.1
46
52
  # via keyring
47
53
  iniconfig==2.0.0
48
54
  # via pytest
@@ -52,20 +58,23 @@ jaraco-context==6.0.1
52
58
  # via keyring
53
59
  jaraco-functools==4.1.0
54
60
  # via keyring
55
- keyring==25.4.1
61
+ keyring==25.6.0
56
62
  # via hatch
57
- loguru==0.7.2
63
+ loguru==0.7.3
58
64
  # via dycw-pre-commit-hooks (pyproject.toml)
59
65
  markdown-it-py==3.0.0
60
66
  # via rich
61
67
  mdurl==0.1.2
62
68
  # via markdown-it-py
63
- more-itertools==10.5.0
69
+ more-itertools==10.6.0
64
70
  # via
65
71
  # jaraco-classes
66
72
  # jaraco-functools
67
- packaging==24.1
73
+ numpy==2.2.2
74
+ # via pytest-rng
75
+ packaging==24.2
68
76
  # via
77
+ # coverage-conditional-plugin
69
78
  # hatch
70
79
  # hatchling
71
80
  # pytest
@@ -84,51 +93,78 @@ pluggy==1.5.0
84
93
  # pytest
85
94
  ptyprocess==0.7.0
86
95
  # via pexpect
87
- pygments==2.18.0
96
+ pygments==2.19.1
88
97
  # via rich
89
- pytest==8.3.3
98
+ pytest==8.3.4
90
99
  # via
91
100
  # dycw-utilities
101
+ # pytest-asyncio
102
+ # pytest-cov
103
+ # pytest-datadir
104
+ # pytest-instafail
105
+ # pytest-only
92
106
  # pytest-randomly
107
+ # pytest-regressions
93
108
  # pytest-rerunfailures
109
+ # pytest-rng
94
110
  # pytest-xdist
95
- pytest-randomly==3.15.0
111
+ pytest-asyncio==0.25.2
112
+ # via dycw-utilities
113
+ pytest-cov==6.0.0
114
+ # via dycw-utilities
115
+ pytest-datadir==1.5.0
116
+ # via pytest-regressions
117
+ pytest-instafail==0.5.0
118
+ # via dycw-utilities
119
+ pytest-only==2.1.2
120
+ # via dycw-utilities
121
+ pytest-randomly==3.16.0
122
+ # via dycw-utilities
123
+ pytest-regressions==2.7.0
124
+ # via dycw-utilities
125
+ pytest-rerunfailures==15.0
96
126
  # via dycw-utilities
97
- pytest-rerunfailures==14.0
127
+ pytest-rng==1.0.0
98
128
  # via dycw-utilities
99
129
  pytest-xdist==3.6.1
100
130
  # via dycw-utilities
101
- rich==13.9.2
131
+ pyyaml==6.0.2
132
+ # via pytest-regressions
133
+ rich==13.9.4
102
134
  # via hatch
103
- semver==3.0.2
135
+ semver==3.0.4
136
+ # via dycw-pre-commit-hooks (pyproject.toml)
137
+ setuptools==75.8.0
104
138
  # via dycw-pre-commit-hooks (pyproject.toml)
105
139
  shellingham==1.5.4
106
140
  # via hatch
107
141
  sniffio==1.3.1
108
- # via
109
- # anyio
110
- # httpx
142
+ # via anyio
111
143
  sortedcontainers==2.4.0
112
144
  # via hypothesis
113
- tomli-w==1.1.0
145
+ tomli==2.2.1
146
+ # via coverage
147
+ tomli-w==1.2.0
114
148
  # via hatch
115
149
  tomlkit==0.13.2
116
150
  # via
117
151
  # dycw-pre-commit-hooks (pyproject.toml)
118
152
  # hatch
119
- trove-classifiers==2024.9.12
153
+ trove-classifiers==2025.1.15.22
120
154
  # via hatchling
121
155
  typing-extensions==4.12.2
122
- # via dycw-utilities
156
+ # via
157
+ # anyio
158
+ # dycw-utilities
123
159
  userpath==1.9.2
124
160
  # via hatch
125
- uv==0.4.20
161
+ uv==0.5.24
126
162
  # via hatch
127
- virtualenv==20.26.6
163
+ virtualenv==20.29.1
128
164
  # via hatch
129
- xdg-base-dirs==6.0.1
165
+ xdg-base-dirs==6.0.2
130
166
  # via dycw-pre-commit-hooks (pyproject.toml)
131
- zipp==3.20.2
167
+ zipp==3.21.0
132
168
  # via importlib-metadata
133
169
  zstandard==0.23.0
134
170
  # via hatch
@@ -1 +0,0 @@
1
- layout pyenv 3.11.9