dycw-pre-commit-hooks 0.9.12__tar.gz → 0.9.14__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 (31) hide show
  1. dycw_pre_commit_hooks-0.9.14/.envrc +1 -0
  2. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/.gitignore +1 -0
  3. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/.pre-commit-config.yaml +5 -5
  4. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/PKG-INFO +2 -2
  5. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pre_commit_hooks/__init__.py +1 -1
  6. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pyproject.toml +10 -4
  7. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/requirements.txt +36 -14
  8. dycw_pre_commit_hooks-0.9.12/.envrc +0 -1
  9. dycw_pre_commit_hooks-0.9.12/environment.yml +0 -5
  10. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/.github/workflows/push.yml +0 -0
  11. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/.pre-commit-hooks.yaml +0 -0
  12. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/README.md +0 -0
  13. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pre_commit_hooks/common.py +0 -0
  14. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pre_commit_hooks/py.typed +0 -0
  15. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pre_commit_hooks/run_bump2version/__init__.py +0 -0
  16. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pre_commit_hooks/run_bump2version/__main__.py +0 -0
  17. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pre_commit_hooks/run_dockfmt/__init__.py +0 -0
  18. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pre_commit_hooks/run_dockfmt/__main__.py +0 -0
  19. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pre_commit_hooks/run_hatch_version/__init__.py +0 -0
  20. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pre_commit_hooks/run_hatch_version/__main__.py +0 -0
  21. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pre_commit_hooks/run_ruff_format/__init__.py +0 -0
  22. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pre_commit_hooks/run_ruff_format/__main__.py +0 -0
  23. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pre_commit_hooks/run_uv_pip_compile/__init__.py +0 -0
  24. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/pre_commit_hooks/run_uv_pip_compile/__main__.py +0 -0
  25. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/tests/__init__.py +0 -0
  26. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/tests/test_main.py +0 -0
  27. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/try-repo/run-bump2version.sh +0 -0
  28. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/try-repo/run-dockfmt.sh +0 -0
  29. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/try-repo/run-hatch-version.sh +0 -0
  30. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/try-repo/run-ruff-format.sh +0 -0
  31. {dycw_pre_commit_hooks-0.9.12 → dycw_pre_commit_hooks-0.9.14}/try-repo/run-uv-pip-compile.sh +0 -0
@@ -0,0 +1 @@
1
+ layout pyenv 3.10.14
@@ -162,4 +162,5 @@ cython_debug/
162
162
  # extra
163
163
  .direnv/
164
164
  .ruff_cache/
165
+ node_modules/
165
166
  Untitled.ipynb
@@ -1,19 +1,19 @@
1
1
  repos:
2
2
  # fixers
3
3
  - repo: https://github.com/astral-sh/ruff-pre-commit
4
- rev: v0.3.4
4
+ rev: v0.3.7
5
5
  hooks:
6
6
  - id: ruff
7
7
  args: [--fix]
8
8
  - repo: https://github.com/dycw/pre-commit-hooks
9
- rev: 0.9.9
9
+ rev: 0.9.13
10
10
  hooks:
11
11
  - id: run-hatch-version
12
12
  - id: run-ruff-format
13
13
  - id: run-uv-pip-compile
14
- args: [--python-version=3.12]
14
+ args: [--python-version=3.10]
15
15
  - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
16
- rev: v2.12.0
16
+ rev: v2.13.0
17
17
  hooks:
18
18
  - id: pretty-format-toml
19
19
  args: [--autofix, --trailing-commas]
@@ -22,7 +22,7 @@ repos:
22
22
  hooks:
23
23
  - id: prettier
24
24
  - repo: https://github.com/pre-commit/pre-commit-hooks
25
- rev: v4.5.0
25
+ rev: v4.6.0
26
26
  hooks:
27
27
  - id: check-executables-have-shebangs
28
28
  - id: check-merge-conflict
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dycw-pre-commit-hooks
3
- Version: 0.9.12
3
+ Version: 0.9.14
4
4
  Author-email: Derek Wan <d.wan@icloud.com>
5
- Requires-Python: >=3.12
5
+ Requires-Python: >=3.10
6
6
  Requires-Dist: click<8.2,>=8.1.7
7
7
  Requires-Dist: dycw-utilities<0.26,>=0.25.1
8
8
  Requires-Dist: loguru<0.8,>=0.7.2
@@ -1,3 +1,3 @@
1
1
  from __future__ import annotations
2
2
 
3
- __version__ = "0.9.12"
3
+ __version__ = "0.9.14"
@@ -18,7 +18,7 @@ dependencies = [
18
18
  dynamic = ["version"]
19
19
  name = "dycw-pre-commit-hooks"
20
20
  readme = "README.md"
21
- requires-python = ">= 3.12"
21
+ requires-python = ">= 3.10"
22
22
 
23
23
  [project.optional-dependencies]
24
24
  dev = ["dycw-utilities[test]", "hatch"]
@@ -62,7 +62,7 @@ path = "src/pre_commit_hooks/__init__.py"
62
62
  # nitpick
63
63
  [tool.nitpick]
64
64
  style = [
65
- "https://raw.githubusercontent.com/dycw/nitpick/master/styles/3.12.toml",
65
+ "https://raw.githubusercontent.com/dycw/nitpick/master/styles/3.10.toml",
66
66
  "https://raw.githubusercontent.com/dycw/nitpick/master/styles/common.toml",
67
67
  ]
68
68
 
@@ -70,7 +70,7 @@ style = [
70
70
  [tool.pyright]
71
71
  executionEnvironments = [{root = "src"}]
72
72
  include = ["src"]
73
- pythonVersion = "3.12"
73
+ pythonVersion = "3.10"
74
74
  reportImplicitOverride = "error"
75
75
  reportImportCycles = "error"
76
76
  reportMissingSuperCall = "error"
@@ -103,7 +103,7 @@ xfail_strict = true
103
103
  # ruff
104
104
  [tool.ruff]
105
105
  src = ["src"]
106
- target-version = "py312"
106
+ target-version = "py310"
107
107
  unsafe-fixes = true
108
108
 
109
109
  [tool.ruff.lint]
@@ -112,6 +112,7 @@ ignore = [
112
112
  "ANN102", # missing-type-cls
113
113
  "ANN401", # dynamically-typed-expression
114
114
  "D", # pydocstyle
115
+ "PT013", # pytest-incorrect-pytest-import
115
116
  # formatter
116
117
  "W191", # tab-indentation
117
118
  "E111", # indentation-with-invalid-multiple
@@ -131,6 +132,11 @@ ignore = [
131
132
  select = ["ALL"]
132
133
 
133
134
  [tool.ruff.lint.extend-per-file-ignores]
135
+ "*.ipynb" = [
136
+ "F403", # undefined-local-with-import-star
137
+ "F405", # undefined-local-with-import-star-usage
138
+ "PLE1142", # await-outside-async
139
+ ]
134
140
  "src/tests/**/*.py" = [
135
141
  "FBT001", # boolean-positional-arg-in-function-definition
136
142
  "FBT003", # boolean-positional-value-in-function-call
@@ -1,9 +1,11 @@
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.12 pyproject.toml
2
+ # uv pip compile --extra=dev --prerelease=disallow --output-file=requirements.txt --python-version=3.10 pyproject.toml
3
3
  anyio==4.3.0
4
4
  # via httpx
5
5
  attrs==23.2.0
6
6
  # via hypothesis
7
+ backports-tarfile==1.1.0
8
+ # via jaraco-context
7
9
  certifi==2024.2.2
8
10
  # via
9
11
  # httpcore
@@ -18,34 +20,44 @@ dycw-utilities==0.25.2
18
20
  editables==0.5
19
21
  # via hatchling
20
22
  exceptiongroup==1.2.0
21
- # via dycw-utilities
22
- execnet==2.0.2
23
+ # via
24
+ # anyio
25
+ # dycw-utilities
26
+ # hypothesis
27
+ # pytest
28
+ execnet==2.1.1
23
29
  # via pytest-xdist
24
- filelock==3.13.1
30
+ filelock==3.13.4
25
31
  # via virtualenv
26
32
  h11==0.14.0
27
33
  # via httpcore
28
34
  hatch==1.9.4
29
35
  hatchling==1.21.1
30
36
  # via hatch
31
- httpcore==1.0.4
37
+ httpcore==1.0.5
32
38
  # via httpx
33
39
  httpx==0.27.0
34
40
  # via hatch
35
41
  hyperlink==21.0.0
36
42
  # via hatch
37
- hypothesis==6.99.12
43
+ hypothesis==6.100.1
38
44
  # via dycw-utilities
39
- idna==3.6
45
+ idna==3.7
40
46
  # via
41
47
  # anyio
42
48
  # httpx
43
49
  # hyperlink
50
+ importlib-metadata==7.1.0
51
+ # via keyring
44
52
  iniconfig==2.0.0
45
53
  # via pytest
46
- jaraco-classes==3.3.1
54
+ jaraco-classes==3.4.0
55
+ # via keyring
56
+ jaraco-context==5.3.0
57
+ # via keyring
58
+ jaraco-functools==4.0.0
47
59
  # via keyring
48
- keyring==24.3.1
60
+ keyring==25.1.0
49
61
  # via hatch
50
62
  loguru==0.7.2
51
63
  markdown-it-py==3.0.0
@@ -53,7 +65,9 @@ markdown-it-py==3.0.0
53
65
  mdurl==0.1.2
54
66
  # via markdown-it-py
55
67
  more-itertools==10.2.0
56
- # via jaraco-classes
68
+ # via
69
+ # jaraco-classes
70
+ # jaraco-functools
57
71
  packaging==24.0
58
72
  # via
59
73
  # hatch
@@ -95,18 +109,26 @@ sniffio==1.3.1
95
109
  # httpx
96
110
  sortedcontainers==2.4.0
97
111
  # via hypothesis
112
+ tomli==2.0.1
113
+ # via
114
+ # hatchling
115
+ # pytest
98
116
  tomli-w==1.0.0
99
117
  # via hatch
100
118
  tomlkit==0.12.4
101
119
  # via hatch
102
- trove-classifiers==2024.3.3
120
+ trove-classifiers==2024.4.10
103
121
  # via hatchling
104
- typing-extensions==4.10.0
105
- # via dycw-utilities
122
+ typing-extensions==4.11.0
123
+ # via
124
+ # anyio
125
+ # dycw-utilities
106
126
  userpath==1.9.2
107
127
  # via hatch
108
- virtualenv==20.25.1
128
+ virtualenv==20.25.3
109
129
  # via hatch
110
130
  xdg-base-dirs==6.0.1
131
+ zipp==3.18.1
132
+ # via importlib-metadata
111
133
  zstandard==0.22.0
112
134
  # via hatch
@@ -1 +0,0 @@
1
- layout_anaconda
@@ -1,5 +0,0 @@
1
- name: pre-commit-hooks
2
-
3
- dependencies:
4
- - python=3.12
5
- - pip