dycw-pre-commit-hooks 0.9.19__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.19 → dycw_pre_commit_hooks-0.9.24}/.github/workflows/push.yml +5 -2
  3. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/.pre-commit-config.yaml +4 -4
  4. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/PKG-INFO +9 -8
  5. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/__init__.py +1 -1
  6. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/pyproject.toml +8 -8
  7. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/requirements.txt +73 -37
  8. dycw_pre_commit_hooks-0.9.19/.envrc +0 -1
  9. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/.gitignore +0 -0
  10. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/.pre-commit-hooks.yaml +0 -0
  11. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/README.md +0 -0
  12. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/common.py +0 -0
  13. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/py.typed +0 -0
  14. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_bump2version/__init__.py +0 -0
  15. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_bump2version/__main__.py +0 -0
  16. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_dockfmt/__init__.py +0 -0
  17. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_dockfmt/__main__.py +0 -0
  18. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_hatch_version/__init__.py +0 -0
  19. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_hatch_version/__main__.py +0 -0
  20. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_ruff_format/__init__.py +0 -0
  21. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/pre_commit_hooks/run_ruff_format/__main__.py +0 -0
  22. {dycw_pre_commit_hooks-0.9.19 → 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.19 → 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.19 → dycw_pre_commit_hooks-0.9.24}/tests/__init__.py +0 -0
  25. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/tests/test_main.py +0 -0
  26. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/try-repo/run-bump2version.sh +0 -0
  27. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/try-repo/run-dockfmt.sh +0 -0
  28. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/try-repo/run-hatch-version.sh +0 -0
  29. {dycw_pre_commit_hooks-0.9.19 → dycw_pre_commit_hooks-0.9.24}/try-repo/run-ruff-format.sh +0 -0
  30. {dycw_pre_commit_hooks-0.9.19 → 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
@@ -23,8 +23,11 @@ jobs:
23
23
  needs: tag
24
24
  steps:
25
25
  - uses: actions/checkout@v3
26
- - run: python -m pip install --upgrade hatch
27
- - run: hatch build
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.6.4
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.18
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
@@ -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: v4.6.0
30
+ rev: v5.0.0
31
31
  hooks:
32
32
  - id: check-executables-have-shebangs
33
33
  - id: check-merge-conflict
@@ -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.19
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.53,>=0.52.5
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.19"
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.52.5, < 0.53",
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
- # uv pip compile --extra=dev --prerelease=disallow --output-file=requirements.txt --python-version=3.11 pyproject.toml
3
- anyio==4.4.0
2
+ # uv pip compile --extra=dev --prerelease=explicit --output-file=requirements.txt --python-version=3.11 pyproject.toml
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
- distlib==0.3.8
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
24
+ distlib==0.3.9
19
25
  # via virtualenv
20
- dycw-utilities==0.52.5
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.15.4
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.5
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.111.2
44
+ hypothesis==6.124.7
39
45
  # via dycw-utilities
40
- idna==3.8
46
+ idna==3.10
41
47
  # via
42
48
  # anyio
43
49
  # httpx
44
50
  # hyperlink
45
- importlib-metadata==8.4.0
51
+ importlib-metadata==8.6.1
46
52
  # via keyring
47
53
  iniconfig==2.0.0
48
54
  # via pytest
@@ -50,22 +56,25 @@ jaraco-classes==3.4.0
50
56
  # via keyring
51
57
  jaraco-context==6.0.1
52
58
  # via keyring
53
- jaraco-functools==4.0.2
59
+ jaraco-functools==4.1.0
54
60
  # via keyring
55
- keyring==25.3.0
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
@@ -74,7 +83,7 @@ pathspec==0.12.1
74
83
  # via hatchling
75
84
  pexpect==4.9.0
76
85
  # via hatch
77
- platformdirs==4.2.2
86
+ platformdirs==4.3.6
78
87
  # via
79
88
  # hatch
80
89
  # virtualenv
@@ -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.2
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.8.0
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.0.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.7.2
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.6
161
+ uv==0.5.24
126
162
  # via hatch
127
- virtualenv==20.26.3
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.1
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