pyproject-pre-commit 0.3.2__tar.gz → 0.3.3__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.
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/.pre-commit-config.yaml +1 -1
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/PKG-INFO +61 -40
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/README.md +53 -39
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/pyproject.toml +11 -3
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/uv.lock +165 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/.github/FUNDING.yml +0 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/.github/workflows/pypi.yml +0 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/.github/workflows/test.yml +0 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/.gitignore +0 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/.pre-commit-hooks.yaml +0 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/LICENSE +0 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/renovate.json +0 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/src/pyproject_pre_commit/__init__.py +0 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/src/pyproject_pre_commit/__version__.py +0 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/src/pyproject_pre_commit/py.typed +0 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/src/pyproject_pre_commit/pyproject_pre_commit.py +0 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/tests/__init__.py +0 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/tests/test_pyproject_pre_commit.py +0 -0
- {pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/tests/test_version.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: pyproject-pre-commit
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.3
|
4
4
|
Summary: pre-commit hooks for python projects using pyproject.toml.
|
5
5
|
Author-email: rcmdnk <rcmdnk@gmail.com>
|
6
6
|
Keywords: pre-commit,pyproject.toml,uv
|
@@ -30,9 +30,15 @@ Requires-Dist: flake8-pyproject>=1.2.3
|
|
30
30
|
Requires-Dist: flake8-rst-docstrings>=0.3.0
|
31
31
|
Requires-Dist: flake8-string-format>=0.3.0
|
32
32
|
Requires-Dist: isort>=5.12.0
|
33
|
+
Requires-Dist: mdformat-config>=0.2.1
|
33
34
|
Requires-Dist: mdformat-footnote>=0.1.1
|
34
35
|
Requires-Dist: mdformat-frontmatter>=2.0.1
|
35
36
|
Requires-Dist: mdformat-gfm>=0.3.5
|
37
|
+
Requires-Dist: mdformat-pyproject>=0.0.1
|
38
|
+
Requires-Dist: mdformat-rustfmt>=0.0.3
|
39
|
+
Requires-Dist: mdformat-tables>=1.0.0
|
40
|
+
Requires-Dist: mdformat-toc>=0.3.0
|
41
|
+
Requires-Dist: mdformat-web>=0.2.0
|
36
42
|
Requires-Dist: mdformat>=0.7.17
|
37
43
|
Requires-Dist: mypy>=1.5.1
|
38
44
|
Requires-Dist: numpydoc>=1.8.0
|
@@ -41,10 +47,11 @@ Requires-Dist: pre-commit>=4.0.0
|
|
41
47
|
Requires-Dist: pycodestyle>=2.11.0
|
42
48
|
Requires-Dist: shellcheck-py>=0.9.0.5
|
43
49
|
Provides-Extra: ruff
|
50
|
+
Requires-Dist: mdformat-ruff>=0.1.3; extra == 'ruff'
|
44
51
|
Requires-Dist: ruff>=0.7.2; extra == 'ruff'
|
45
52
|
Description-Content-Type: text/markdown
|
46
53
|
|
47
|
-
# pyproject-pre-commit
|
54
|
+
# pyproject-pre-commit<a name="pyproject-pre-commit"></a>
|
48
55
|
|
49
56
|
[](https://github.com/rcmdnk/pyproject-pre-commit/actions/workflows/test.yml)
|
50
57
|
[](https://github.com/rcmdnk/pyproject-pre-commit/tree/coverage)
|
@@ -56,14 +63,28 @@ Description-Content-Type: text/markdown
|
|
56
63
|
By installing **pyproject-pre-commit** package,
|
57
64
|
all necessary tools are installed as dependencies.
|
58
65
|
|
59
|
-
|
66
|
+
<!-- mdformat-toc start --slug=github --maxlevel=6 --minlevel=2 -->
|
67
|
+
|
68
|
+
- [Requirement](#requirement)
|
69
|
+
- [Usage](#usage)
|
70
|
+
- [Install pyproject-pre-commit](#install-pyproject-pre-commit)
|
71
|
+
- [Install pyproject-pre-commit with ruff](#install-pyproject-pre-commit-with-ruff)
|
72
|
+
- [Prepare .pre-commit-config.yaml](#prepare-pre-commit-configyaml)
|
73
|
+
- [Run pre-commit](#run-pre-commit)
|
74
|
+
- [Available ids](#available-ids)
|
75
|
+
- [Options for tools](#options-for-tools)
|
76
|
+
- [pyproject.toml](#pyprojecttoml)
|
77
|
+
|
78
|
+
<!-- mdformat-toc end -->
|
79
|
+
|
80
|
+
## Requirement<a name="requirement"></a>
|
60
81
|
|
61
82
|
- Python >= 3.9.0
|
62
83
|
- Poetry (For development)
|
63
84
|
|
64
|
-
## Usage
|
85
|
+
## Usage<a name="usage"></a>
|
65
86
|
|
66
|
-
### Install pyproject-pre-commit
|
87
|
+
### Install pyproject-pre-commit<a name="install-pyproject-pre-commit"></a>
|
67
88
|
|
68
89
|
If your project uses poetry, do:
|
69
90
|
|
@@ -82,7 +103,7 @@ $ pip install pyproject-pre-commit
|
|
82
103
|
This will install tools for pre-commit hooks in your working environment,
|
83
104
|
so that you can use these tools, such as black, directly.
|
84
105
|
|
85
|
-
### Install pyproject-pre-commit with ruff
|
106
|
+
### Install pyproject-pre-commit with ruff<a name="install-pyproject-pre-commit-with-ruff"></a>
|
86
107
|
|
87
108
|
If you want to use ruff, you can install pyproject-pre-commit with ruff option.
|
88
109
|
|
@@ -94,30 +115,30 @@ $ poetry add --group dev "pyproject-pre-commit[ruff]"
|
|
94
115
|
$ pip install pyproject-pre-commit[ruff]
|
95
116
|
```
|
96
117
|
|
97
|
-
### Prepare .pre-commit-config.yaml
|
118
|
+
### Prepare .pre-commit-config.yaml<a name="prepare-pre-commit-configyaml"></a>
|
98
119
|
|
99
120
|
Add **https://github.com/rcmdnk/pyproject-pre-commit** to your **.pre-commit-config.yaml**, like:
|
100
121
|
|
101
122
|
```yaml
|
102
123
|
repos:
|
103
|
-
- repo: https://github.com/rcmdnk/pyproject-pre-commit
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
124
|
+
- repo: https://github.com/rcmdnk/pyproject-pre-commit
|
125
|
+
rev: v0.3.0
|
126
|
+
hooks:
|
127
|
+
- id: black-diff
|
128
|
+
- id: black
|
129
|
+
- id: blacken-docs
|
130
|
+
- id: autoflake-diff
|
131
|
+
- id: autoflake
|
132
|
+
- id: autopep8-diff
|
133
|
+
- id: autopep8
|
134
|
+
- id: isort-diff
|
135
|
+
- id: isort
|
136
|
+
- id: flake8
|
137
|
+
- id: bandit
|
138
|
+
- id: mypy
|
139
|
+
- id: shellcheck
|
140
|
+
- id: mdformat-check
|
141
|
+
- id: mdformat
|
121
142
|
```
|
122
143
|
|
123
144
|
By using **pyproject-pre-commit**, you can simplify your **.pre-commit-config.yaml**
|
@@ -147,17 +168,17 @@ To use `ruff` instead of such as `black`, `flake8`, `isort`, add following hooks
|
|
147
168
|
|
148
169
|
```yaml
|
149
170
|
repos:
|
150
|
-
- repo: https://github.com/rcmdnk/pyproject-pre-commit
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
171
|
+
- repo: https://github.com/rcmdnk/pyproject-pre-commit
|
172
|
+
rev: v0.3.0
|
173
|
+
hooks:
|
174
|
+
- id: ruff-lint-diff
|
175
|
+
- id: ruff-lint
|
176
|
+
- id: ruff-format-diff
|
177
|
+
- id: ruff-format
|
178
|
+
- id: mypy
|
179
|
+
- id: shellcheck
|
180
|
+
- id: mdformat-check
|
181
|
+
- id: mdformat
|
161
182
|
```
|
162
183
|
|
163
184
|
This can be made by `ppc` command:
|
@@ -166,7 +187,7 @@ This can be made by `ppc` command:
|
|
166
187
|
$ ppc --pre-commit --ruff > .pre-commit-config.yaml
|
167
188
|
```
|
168
189
|
|
169
|
-
### Run pre-commit
|
190
|
+
### Run pre-commit<a name="run-pre-commit"></a>
|
170
191
|
|
171
192
|
`pre-commit` command is installed as dependencies of **pyproject-pre-commit** package.
|
172
193
|
|
@@ -187,7 +208,7 @@ $ pre-commit run --all-files
|
|
187
208
|
> \[!NOTE\]
|
188
209
|
> If you are using poetry, run `poetry run pre-commit ... ` or run after `poetry shell`.
|
189
210
|
|
190
|
-
## Available ids
|
211
|
+
## Available ids<a name="available-ids"></a>
|
191
212
|
|
192
213
|
You can find ids in **.pre-commit-hooks.yaml**.
|
193
214
|
|
@@ -245,7 +266,7 @@ For tools which can format files, there are additional ids with `-diff` or `--ch
|
|
245
266
|
which show the results before modifying files.
|
246
267
|
You can see the differences after formatting if you place these ids before ids w/o `--diff` or `--check`.
|
247
268
|
|
248
|
-
## Options for tools
|
269
|
+
## Options for tools<a name="options-for-tools"></a>
|
249
270
|
|
250
271
|
You can set options in pyproject.toml for all tools above.
|
251
272
|
|
@@ -253,7 +274,7 @@ For flake8, flake8-pyproject allows to read options from pyproject.toml
|
|
253
274
|
|
254
275
|
About bandit, there is a plugin for the flake8, but plugin version does not read options from pyproject.toml even with pyproject.toml. Therefore, use bandit directly and give `-c pyproject.toml` option in the hooks.
|
255
276
|
|
256
|
-
## pyproject.toml
|
277
|
+
## pyproject.toml<a name="pyprojecttoml"></a>
|
257
278
|
|
258
279
|
You can set options in pyproject.toml for all tools.
|
259
280
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# pyproject-pre-commit
|
1
|
+
# pyproject-pre-commit<a name="pyproject-pre-commit"></a>
|
2
2
|
|
3
3
|
[](https://github.com/rcmdnk/pyproject-pre-commit/actions/workflows/test.yml)
|
4
4
|
[](https://github.com/rcmdnk/pyproject-pre-commit/tree/coverage)
|
@@ -10,14 +10,28 @@
|
|
10
10
|
By installing **pyproject-pre-commit** package,
|
11
11
|
all necessary tools are installed as dependencies.
|
12
12
|
|
13
|
-
|
13
|
+
<!-- mdformat-toc start --slug=github --maxlevel=6 --minlevel=2 -->
|
14
|
+
|
15
|
+
- [Requirement](#requirement)
|
16
|
+
- [Usage](#usage)
|
17
|
+
- [Install pyproject-pre-commit](#install-pyproject-pre-commit)
|
18
|
+
- [Install pyproject-pre-commit with ruff](#install-pyproject-pre-commit-with-ruff)
|
19
|
+
- [Prepare .pre-commit-config.yaml](#prepare-pre-commit-configyaml)
|
20
|
+
- [Run pre-commit](#run-pre-commit)
|
21
|
+
- [Available ids](#available-ids)
|
22
|
+
- [Options for tools](#options-for-tools)
|
23
|
+
- [pyproject.toml](#pyprojecttoml)
|
24
|
+
|
25
|
+
<!-- mdformat-toc end -->
|
26
|
+
|
27
|
+
## Requirement<a name="requirement"></a>
|
14
28
|
|
15
29
|
- Python >= 3.9.0
|
16
30
|
- Poetry (For development)
|
17
31
|
|
18
|
-
## Usage
|
32
|
+
## Usage<a name="usage"></a>
|
19
33
|
|
20
|
-
### Install pyproject-pre-commit
|
34
|
+
### Install pyproject-pre-commit<a name="install-pyproject-pre-commit"></a>
|
21
35
|
|
22
36
|
If your project uses poetry, do:
|
23
37
|
|
@@ -36,7 +50,7 @@ $ pip install pyproject-pre-commit
|
|
36
50
|
This will install tools for pre-commit hooks in your working environment,
|
37
51
|
so that you can use these tools, such as black, directly.
|
38
52
|
|
39
|
-
### Install pyproject-pre-commit with ruff
|
53
|
+
### Install pyproject-pre-commit with ruff<a name="install-pyproject-pre-commit-with-ruff"></a>
|
40
54
|
|
41
55
|
If you want to use ruff, you can install pyproject-pre-commit with ruff option.
|
42
56
|
|
@@ -48,30 +62,30 @@ $ poetry add --group dev "pyproject-pre-commit[ruff]"
|
|
48
62
|
$ pip install pyproject-pre-commit[ruff]
|
49
63
|
```
|
50
64
|
|
51
|
-
### Prepare .pre-commit-config.yaml
|
65
|
+
### Prepare .pre-commit-config.yaml<a name="prepare-pre-commit-configyaml"></a>
|
52
66
|
|
53
67
|
Add **https://github.com/rcmdnk/pyproject-pre-commit** to your **.pre-commit-config.yaml**, like:
|
54
68
|
|
55
69
|
```yaml
|
56
70
|
repos:
|
57
|
-
- repo: https://github.com/rcmdnk/pyproject-pre-commit
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
71
|
+
- repo: https://github.com/rcmdnk/pyproject-pre-commit
|
72
|
+
rev: v0.3.0
|
73
|
+
hooks:
|
74
|
+
- id: black-diff
|
75
|
+
- id: black
|
76
|
+
- id: blacken-docs
|
77
|
+
- id: autoflake-diff
|
78
|
+
- id: autoflake
|
79
|
+
- id: autopep8-diff
|
80
|
+
- id: autopep8
|
81
|
+
- id: isort-diff
|
82
|
+
- id: isort
|
83
|
+
- id: flake8
|
84
|
+
- id: bandit
|
85
|
+
- id: mypy
|
86
|
+
- id: shellcheck
|
87
|
+
- id: mdformat-check
|
88
|
+
- id: mdformat
|
75
89
|
```
|
76
90
|
|
77
91
|
By using **pyproject-pre-commit**, you can simplify your **.pre-commit-config.yaml**
|
@@ -101,17 +115,17 @@ To use `ruff` instead of such as `black`, `flake8`, `isort`, add following hooks
|
|
101
115
|
|
102
116
|
```yaml
|
103
117
|
repos:
|
104
|
-
- repo: https://github.com/rcmdnk/pyproject-pre-commit
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
118
|
+
- repo: https://github.com/rcmdnk/pyproject-pre-commit
|
119
|
+
rev: v0.3.0
|
120
|
+
hooks:
|
121
|
+
- id: ruff-lint-diff
|
122
|
+
- id: ruff-lint
|
123
|
+
- id: ruff-format-diff
|
124
|
+
- id: ruff-format
|
125
|
+
- id: mypy
|
126
|
+
- id: shellcheck
|
127
|
+
- id: mdformat-check
|
128
|
+
- id: mdformat
|
115
129
|
```
|
116
130
|
|
117
131
|
This can be made by `ppc` command:
|
@@ -120,7 +134,7 @@ This can be made by `ppc` command:
|
|
120
134
|
$ ppc --pre-commit --ruff > .pre-commit-config.yaml
|
121
135
|
```
|
122
136
|
|
123
|
-
### Run pre-commit
|
137
|
+
### Run pre-commit<a name="run-pre-commit"></a>
|
124
138
|
|
125
139
|
`pre-commit` command is installed as dependencies of **pyproject-pre-commit** package.
|
126
140
|
|
@@ -141,7 +155,7 @@ $ pre-commit run --all-files
|
|
141
155
|
> \[!NOTE\]
|
142
156
|
> If you are using poetry, run `poetry run pre-commit ... ` or run after `poetry shell`.
|
143
157
|
|
144
|
-
## Available ids
|
158
|
+
## Available ids<a name="available-ids"></a>
|
145
159
|
|
146
160
|
You can find ids in **.pre-commit-hooks.yaml**.
|
147
161
|
|
@@ -199,7 +213,7 @@ For tools which can format files, there are additional ids with `-diff` or `--ch
|
|
199
213
|
which show the results before modifying files.
|
200
214
|
You can see the differences after formatting if you place these ids before ids w/o `--diff` or `--check`.
|
201
215
|
|
202
|
-
## Options for tools
|
216
|
+
## Options for tools<a name="options-for-tools"></a>
|
203
217
|
|
204
218
|
You can set options in pyproject.toml for all tools above.
|
205
219
|
|
@@ -207,7 +221,7 @@ For flake8, flake8-pyproject allows to read options from pyproject.toml
|
|
207
221
|
|
208
222
|
About bandit, there is a plugin for the flake8, but plugin version does not read options from pyproject.toml even with pyproject.toml. Therefore, use bandit directly and give `-c pyproject.toml` option in the hooks.
|
209
223
|
|
210
|
-
## pyproject.toml
|
224
|
+
## pyproject.toml<a name="pyprojecttoml"></a>
|
211
225
|
|
212
226
|
You can set options in pyproject.toml for all tools.
|
213
227
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "pyproject-pre-commit"
|
3
|
-
version = "0.3.
|
3
|
+
version = "0.3.3"
|
4
4
|
description = "pre-commit hooks for python projects using pyproject.toml."
|
5
5
|
authors = [
|
6
6
|
{ name = "rcmdnk", email = "rcmdnk@gmail.com" }
|
@@ -46,14 +46,21 @@ dependencies = [
|
|
46
46
|
"numpydoc >= 1.8.0",
|
47
47
|
"shellcheck-py >= 0.9.0.5",
|
48
48
|
"mdformat >= 0.7.17",
|
49
|
-
"mdformat-
|
50
|
-
"mdformat-
|
49
|
+
"mdformat-pyproject>=0.0.1",
|
50
|
+
"mdformat-config>=0.2.1",
|
51
|
+
"mdformat-rustfmt>=0.0.3",
|
51
52
|
"mdformat-footnote >= 0.1.1",
|
53
|
+
"mdformat-frontmatter >= 2.0.1",
|
54
|
+
"mdformat-gfm >= 0.3.5",
|
55
|
+
"mdformat-tables>=1.0.0",
|
56
|
+
"mdformat-web>=0.2.0",
|
57
|
+
"mdformat-toc>=0.3.0",
|
52
58
|
]
|
53
59
|
|
54
60
|
[project.optional-dependencies]
|
55
61
|
ruff = [
|
56
62
|
"ruff >= 0.7.2",
|
63
|
+
"mdformat-ruff >= 0.1.3",
|
57
64
|
]
|
58
65
|
|
59
66
|
[dependency-groups]
|
@@ -62,6 +69,7 @@ dev = [
|
|
62
69
|
"pytest-cov >= 6.0.0",
|
63
70
|
"pytest-xdist >= 3.3.1",
|
64
71
|
"ruff >= 0.7.2",
|
72
|
+
"mdformat-ruff >= 0.1.3",
|
65
73
|
]
|
66
74
|
|
67
75
|
[project.scripts]
|
@@ -74,6 +74,18 @@ toml = [
|
|
74
74
|
{ name = "tomli", marker = "python_full_version < '3.11'" },
|
75
75
|
]
|
76
76
|
|
77
|
+
[[package]]
|
78
|
+
name = "beautifulsoup4"
|
79
|
+
version = "4.12.3"
|
80
|
+
source = { registry = "https://pypi.org/simple" }
|
81
|
+
dependencies = [
|
82
|
+
{ name = "soupsieve" },
|
83
|
+
]
|
84
|
+
sdist = { url = "https://files.pythonhosted.org/packages/b3/ca/824b1195773ce6166d388573fc106ce56d4a805bd7427b624e063596ec58/beautifulsoup4-4.12.3.tar.gz", hash = "sha256:74e3d1928edc070d21748185c46e3fb33490f22f52a3addee9aee0f4f7781051", size = 581181 }
|
85
|
+
wheels = [
|
86
|
+
{ url = "https://files.pythonhosted.org/packages/b1/fe/e8c672695b37eecc5cbf43e1d0638d88d66ba3a44c4d321c796f4e59167f/beautifulsoup4-4.12.3-py3-none-any.whl", hash = "sha256:b80878c9f40111313e55da8ba20bdba06d8fa3969fc68304167741bbf9e082ed", size = 147925 },
|
87
|
+
]
|
88
|
+
|
77
89
|
[[package]]
|
78
90
|
name = "black"
|
79
91
|
version = "24.10.0"
|
@@ -321,6 +333,17 @@ toml = [
|
|
321
333
|
{ name = "tomli", marker = "python_full_version <= '3.11'" },
|
322
334
|
]
|
323
335
|
|
336
|
+
[[package]]
|
337
|
+
name = "cssbeautifier"
|
338
|
+
version = "1.15.1"
|
339
|
+
source = { registry = "https://pypi.org/simple" }
|
340
|
+
dependencies = [
|
341
|
+
{ name = "editorconfig" },
|
342
|
+
{ name = "jsbeautifier" },
|
343
|
+
{ name = "six" },
|
344
|
+
]
|
345
|
+
sdist = { url = "https://files.pythonhosted.org/packages/e5/66/9bfd2d69fb4479d38439076132a620972939f7949015563dce5e61d29a8b/cssbeautifier-1.15.1.tar.gz", hash = "sha256:9f7064362aedd559c55eeecf6b6bed65e05f33488dcbe39044f0403c26e1c006", size = 25673 }
|
346
|
+
|
324
347
|
[[package]]
|
325
348
|
name = "distlib"
|
326
349
|
version = "0.3.9"
|
@@ -339,6 +362,12 @@ wheels = [
|
|
339
362
|
{ url = "https://files.pythonhosted.org/packages/8f/d7/9322c609343d929e75e7e5e6255e614fcc67572cfd083959cdef3b7aad79/docutils-0.21.2-py3-none-any.whl", hash = "sha256:dafca5b9e384f0e419294eb4d2ff9fa826435bf15f15b7bd45723e8ad76811b2", size = 587408 },
|
340
363
|
]
|
341
364
|
|
365
|
+
[[package]]
|
366
|
+
name = "editorconfig"
|
367
|
+
version = "0.12.4"
|
368
|
+
source = { registry = "https://pypi.org/simple" }
|
369
|
+
sdist = { url = "https://files.pythonhosted.org/packages/3d/85/7b5c2fac7fdc37d959fab714b13b9acb75884490dcc0e8b1dc5e64105084/EditorConfig-0.12.4.tar.gz", hash = "sha256:24857fa1793917dd9ccf0c7810a07e05404ce9b823521c7dce22a4fb5d125f80", size = 13278 }
|
370
|
+
|
342
371
|
[[package]]
|
343
372
|
name = "exceptiongroup"
|
344
373
|
version = "1.2.2"
|
@@ -599,6 +628,16 @@ wheels = [
|
|
599
628
|
{ url = "https://files.pythonhosted.org/packages/31/80/3a54838c3fb461f6fec263ebf3a3a41771bd05190238de3486aae8540c36/jinja2-3.1.4-py3-none-any.whl", hash = "sha256:bc5dd2abb727a5319567b7a813e6a2e7318c39f4f487cfe6c89c6f9c7d25197d", size = 133271 },
|
600
629
|
]
|
601
630
|
|
631
|
+
[[package]]
|
632
|
+
name = "jsbeautifier"
|
633
|
+
version = "1.15.1"
|
634
|
+
source = { registry = "https://pypi.org/simple" }
|
635
|
+
dependencies = [
|
636
|
+
{ name = "editorconfig" },
|
637
|
+
{ name = "six" },
|
638
|
+
]
|
639
|
+
sdist = { url = "https://files.pythonhosted.org/packages/69/3e/dd37e1a7223247e3ef94714abf572415b89c4e121c4af48e9e4c392e2ca0/jsbeautifier-1.15.1.tar.gz", hash = "sha256:ebd733b560704c602d744eafc839db60a1ee9326e30a2a80c4adb8718adc1b24", size = 75606 }
|
640
|
+
|
602
641
|
[[package]]
|
603
642
|
name = "linkify-it-py"
|
604
643
|
version = "2.0.3"
|
@@ -719,6 +758,20 @@ wheels = [
|
|
719
758
|
{ url = "https://files.pythonhosted.org/packages/67/e0/82c7b59e27f711b71518e05ad9224fcaf64739ae119f4b1901e3311f5d56/mdformat-0.7.18-py3-none-any.whl", hash = "sha256:0060cff2a9d53a2c29a4b2be56ff90cc210d2e8506684fa482c9846166f05e22", size = 29620 },
|
720
759
|
]
|
721
760
|
|
761
|
+
[[package]]
|
762
|
+
name = "mdformat-config"
|
763
|
+
version = "0.2.1"
|
764
|
+
source = { registry = "https://pypi.org/simple" }
|
765
|
+
dependencies = [
|
766
|
+
{ name = "mdformat" },
|
767
|
+
{ name = "ruamel-yaml" },
|
768
|
+
{ name = "taplo" },
|
769
|
+
]
|
770
|
+
sdist = { url = "https://files.pythonhosted.org/packages/ed/c0/49baad1d5121b1b7f30b5166f668d70d2a16ce5d2c267ebe7f210f575b59/mdformat_config-0.2.1.tar.gz", hash = "sha256:753aa1179198c791e4791099a0e9b1684a649fbbcd52db7c4d2e911a4c2c69ae", size = 2829 }
|
771
|
+
wheels = [
|
772
|
+
{ url = "https://files.pythonhosted.org/packages/4e/73/e989491953da2cb446253258d0f3694ea021c277ca0cfbefe0a79ca5eef1/mdformat_config-0.2.1-py3-none-any.whl", hash = "sha256:484a867c067366f85c9e4b91e36d8a92c80141490db59e481befe0ec8055f02d", size = 3473 },
|
773
|
+
]
|
774
|
+
|
722
775
|
[[package]]
|
723
776
|
name = "mdformat-footnote"
|
724
777
|
version = "0.1.1"
|
@@ -761,6 +814,43 @@ wheels = [
|
|
761
814
|
{ url = "https://files.pythonhosted.org/packages/52/c6/da0801497839bdb71fb4744b47b546675fba1fcd9a9762cca4a8f19ab032/mdformat_gfm-0.3.7-py3-none-any.whl", hash = "sha256:c40966ef26e334226961ab77908dc9697ed63668f6383a18c80cca1cb4bb5c10", size = 4914 },
|
762
815
|
]
|
763
816
|
|
817
|
+
[[package]]
|
818
|
+
name = "mdformat-pyproject"
|
819
|
+
version = "0.0.1"
|
820
|
+
source = { registry = "https://pypi.org/simple" }
|
821
|
+
dependencies = [
|
822
|
+
{ name = "mdformat" },
|
823
|
+
{ name = "tomli", marker = "python_full_version < '3.11'" },
|
824
|
+
]
|
825
|
+
sdist = { url = "https://files.pythonhosted.org/packages/1f/56/1b75e565906412087940e065106a9e5953419c7db81bb534dd76d6db6324/mdformat_pyproject-0.0.1.tar.gz", hash = "sha256:a2a03b8f77ec43a60060ab5da4402f613c7d83eca51ff9f19373d590ecdba3aa", size = 5502 }
|
826
|
+
wheels = [
|
827
|
+
{ url = "https://files.pythonhosted.org/packages/ff/12/9a6531cf77bfa4f734372ab3948400d839c2ff64039a8b3ec19e2d694537/mdformat_pyproject-0.0.1-py3-none-any.whl", hash = "sha256:35fe74984ca86c3c5219280be7ea8a161fdc0d0a27bd0a788dcec5d9e322a871", size = 4696 },
|
828
|
+
]
|
829
|
+
|
830
|
+
[[package]]
|
831
|
+
name = "mdformat-ruff"
|
832
|
+
version = "0.1.3"
|
833
|
+
source = { registry = "https://pypi.org/simple" }
|
834
|
+
dependencies = [
|
835
|
+
{ name = "ruff" },
|
836
|
+
]
|
837
|
+
sdist = { url = "https://files.pythonhosted.org/packages/3a/e2/9003dc57c78aea34b21f67854d842985ceac48028d288432efa113df3887/mdformat_ruff-0.1.3.tar.gz", hash = "sha256:2ddd2758dd3f6738c1c7bfbeb89320d271454f4cd8c28a99968a50d3578b15d6", size = 3416 }
|
838
|
+
wheels = [
|
839
|
+
{ url = "https://files.pythonhosted.org/packages/b1/22/3f2464d478f145bbcb731cee9fe720b9e4d69efb6ffd8bc4491f14ca20a2/mdformat_ruff-0.1.3-py3-none-any.whl", hash = "sha256:9c0cf7bfe6bf99b9e0e617e960041d06e9fa84300d5645f922306dd2ed0d1296", size = 3932 },
|
840
|
+
]
|
841
|
+
|
842
|
+
[[package]]
|
843
|
+
name = "mdformat-rustfmt"
|
844
|
+
version = "0.0.3"
|
845
|
+
source = { registry = "https://pypi.org/simple" }
|
846
|
+
dependencies = [
|
847
|
+
{ name = "mdformat" },
|
848
|
+
]
|
849
|
+
sdist = { url = "https://files.pythonhosted.org/packages/9e/0f/d6f4e3966f4851ca613a0efcd336b57327f908f5a2012951df02246ad80f/mdformat-rustfmt-0.0.3.tar.gz", hash = "sha256:3ed82684d8faf5b16000197bbd2a035a45251ce22d4c152c5ba04bb04f644ab5", size = 3287 }
|
850
|
+
wheels = [
|
851
|
+
{ url = "https://files.pythonhosted.org/packages/9e/57/29dc0cc0ab8681494918c1e2cd47ec69fa6c98c56df86686b1cb967fce33/mdformat_rustfmt-0.0.3-py3-none-any.whl", hash = "sha256:f6e3ca39e274c71406515889bb8915899008074597bb8fcb4921d8b5bd96bdd8", size = 3370 },
|
852
|
+
]
|
853
|
+
|
764
854
|
[[package]]
|
765
855
|
name = "mdformat-tables"
|
766
856
|
version = "1.0.0"
|
@@ -774,6 +864,33 @@ wheels = [
|
|
774
864
|
{ url = "https://files.pythonhosted.org/packages/2a/37/d78e37d14323da3f607cd1af7daf262cb87fe614a245c15ad03bb03a2706/mdformat_tables-1.0.0-py3-none-any.whl", hash = "sha256:94cd86126141b2adc3b04c08d1441eb1272b36c39146bab078249a41c7240a9a", size = 5104 },
|
775
865
|
]
|
776
866
|
|
867
|
+
[[package]]
|
868
|
+
name = "mdformat-toc"
|
869
|
+
version = "0.3.0"
|
870
|
+
source = { registry = "https://pypi.org/simple" }
|
871
|
+
dependencies = [
|
872
|
+
{ name = "mdformat" },
|
873
|
+
]
|
874
|
+
sdist = { url = "https://files.pythonhosted.org/packages/b1/5c/c3dfdf66aba3468ef031be23fe25083f2d5410de86fd4f86f76571e2e94d/mdformat-toc-0.3.0.tar.gz", hash = "sha256:e8735f7517068f274b58b83407491b75445dc938473a3d5fa6467c0db0142daa", size = 9847 }
|
875
|
+
wheels = [
|
876
|
+
{ url = "https://files.pythonhosted.org/packages/21/1e/dabc477b3e564c358bf84afa6f8e4995a8440c384df8407c360ebb8f659e/mdformat_toc-0.3.0-py3-none-any.whl", hash = "sha256:49d1f47d563f47405f3c165c6a4c30e8404a39f56ae254a27c2a90dd7eae1849", size = 9752 },
|
877
|
+
]
|
878
|
+
|
879
|
+
[[package]]
|
880
|
+
name = "mdformat-web"
|
881
|
+
version = "0.2.0"
|
882
|
+
source = { registry = "https://pypi.org/simple" }
|
883
|
+
dependencies = [
|
884
|
+
{ name = "beautifulsoup4" },
|
885
|
+
{ name = "cssbeautifier" },
|
886
|
+
{ name = "jsbeautifier" },
|
887
|
+
{ name = "mdformat" },
|
888
|
+
]
|
889
|
+
sdist = { url = "https://files.pythonhosted.org/packages/ab/94/848d6f3db16cce2115921130e50bd0569afd63559abf6bb09e29992c1a26/mdformat_web-0.2.0.tar.gz", hash = "sha256:7bf3b76ce01c3af1e6706ffe430e2b5c173248934191053477813b9119b01b64", size = 2751 }
|
890
|
+
wheels = [
|
891
|
+
{ url = "https://files.pythonhosted.org/packages/f7/68/575b4d9c8dbab694a0ba8e8a4a348e263e774bac4a9ceb250642bad15e2b/mdformat_web-0.2.0-py3-none-any.whl", hash = "sha256:5d896564acfbe6ad8715a97ef6cac49b44ae6a9f3521c97bcf882d0b0e2ff5e7", size = 3150 },
|
892
|
+
]
|
893
|
+
|
777
894
|
[[package]]
|
778
895
|
name = "mdit-py-plugins"
|
779
896
|
version = "0.4.2"
|
@@ -1002,9 +1119,15 @@ dependencies = [
|
|
1002
1119
|
{ name = "flake8-string-format" },
|
1003
1120
|
{ name = "isort" },
|
1004
1121
|
{ name = "mdformat" },
|
1122
|
+
{ name = "mdformat-config" },
|
1005
1123
|
{ name = "mdformat-footnote" },
|
1006
1124
|
{ name = "mdformat-frontmatter" },
|
1007
1125
|
{ name = "mdformat-gfm" },
|
1126
|
+
{ name = "mdformat-pyproject" },
|
1127
|
+
{ name = "mdformat-rustfmt" },
|
1128
|
+
{ name = "mdformat-tables" },
|
1129
|
+
{ name = "mdformat-toc" },
|
1130
|
+
{ name = "mdformat-web" },
|
1008
1131
|
{ name = "mypy" },
|
1009
1132
|
{ name = "numpydoc" },
|
1010
1133
|
{ name = "pep8-naming" },
|
@@ -1015,11 +1138,13 @@ dependencies = [
|
|
1015
1138
|
|
1016
1139
|
[package.optional-dependencies]
|
1017
1140
|
ruff = [
|
1141
|
+
{ name = "mdformat-ruff" },
|
1018
1142
|
{ name = "ruff" },
|
1019
1143
|
]
|
1020
1144
|
|
1021
1145
|
[package.dev-dependencies]
|
1022
1146
|
dev = [
|
1147
|
+
{ name = "mdformat-ruff" },
|
1023
1148
|
{ name = "pytest" },
|
1024
1149
|
{ name = "pytest-cov" },
|
1025
1150
|
{ name = "pytest-xdist" },
|
@@ -1047,9 +1172,16 @@ requires-dist = [
|
|
1047
1172
|
{ name = "flake8-string-format", specifier = ">=0.3.0" },
|
1048
1173
|
{ name = "isort", specifier = ">=5.12.0" },
|
1049
1174
|
{ name = "mdformat", specifier = ">=0.7.17" },
|
1175
|
+
{ name = "mdformat-config", specifier = ">=0.2.1" },
|
1050
1176
|
{ name = "mdformat-footnote", specifier = ">=0.1.1" },
|
1051
1177
|
{ name = "mdformat-frontmatter", specifier = ">=2.0.1" },
|
1052
1178
|
{ name = "mdformat-gfm", specifier = ">=0.3.5" },
|
1179
|
+
{ name = "mdformat-pyproject", specifier = ">=0.0.1" },
|
1180
|
+
{ name = "mdformat-ruff", marker = "extra == 'ruff'", specifier = ">=0.1.3" },
|
1181
|
+
{ name = "mdformat-rustfmt", specifier = ">=0.0.3" },
|
1182
|
+
{ name = "mdformat-tables", specifier = ">=1.0.0" },
|
1183
|
+
{ name = "mdformat-toc", specifier = ">=0.3.0" },
|
1184
|
+
{ name = "mdformat-web", specifier = ">=0.2.0" },
|
1053
1185
|
{ name = "mypy", specifier = ">=1.5.1" },
|
1054
1186
|
{ name = "numpydoc", specifier = ">=1.8.0" },
|
1055
1187
|
{ name = "pep8-naming", specifier = ">=0.14.0" },
|
@@ -1061,6 +1193,7 @@ requires-dist = [
|
|
1061
1193
|
|
1062
1194
|
[package.metadata.requires-dev]
|
1063
1195
|
dev = [
|
1196
|
+
{ name = "mdformat-ruff", specifier = ">=0.1.3" },
|
1064
1197
|
{ name = "pytest", specifier = ">=8.0.0" },
|
1065
1198
|
{ name = "pytest-cov", specifier = ">=6.0.0" },
|
1066
1199
|
{ name = "pytest-xdist", specifier = ">=3.3.1" },
|
@@ -1298,6 +1431,15 @@ wheels = [
|
|
1298
1431
|
{ url = "https://files.pythonhosted.org/packages/4d/f7/5a1fff2c73bb2d044e3e9556961c4bb42525298782a199c8af232bf5ea8a/shellcheck_py-0.10.0.1-py2.py3-none-win_amd64.whl", hash = "sha256:be73a16931c05f79643ff74b6519d1e1203b394583ab8c68a48a8e7f257d1090", size = 1611786 },
|
1299
1432
|
]
|
1300
1433
|
|
1434
|
+
[[package]]
|
1435
|
+
name = "six"
|
1436
|
+
version = "1.16.0"
|
1437
|
+
source = { registry = "https://pypi.org/simple" }
|
1438
|
+
sdist = { url = "https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", size = 34041 }
|
1439
|
+
wheels = [
|
1440
|
+
{ url = "https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254", size = 11053 },
|
1441
|
+
]
|
1442
|
+
|
1301
1443
|
[[package]]
|
1302
1444
|
name = "snowballstemmer"
|
1303
1445
|
version = "2.2.0"
|
@@ -1307,6 +1449,15 @@ wheels = [
|
|
1307
1449
|
{ url = "https://files.pythonhosted.org/packages/ed/dc/c02e01294f7265e63a7315fe086dd1df7dacb9f840a804da846b96d01b96/snowballstemmer-2.2.0-py2.py3-none-any.whl", hash = "sha256:c8e1716e83cc398ae16824e5572ae04e0d9fc2c6b985fb0f900f5f0c96ecba1a", size = 93002 },
|
1308
1450
|
]
|
1309
1451
|
|
1452
|
+
[[package]]
|
1453
|
+
name = "soupsieve"
|
1454
|
+
version = "2.6"
|
1455
|
+
source = { registry = "https://pypi.org/simple" }
|
1456
|
+
sdist = { url = "https://files.pythonhosted.org/packages/d7/ce/fbaeed4f9fb8b2daa961f90591662df6a86c1abf25c548329a86920aedfb/soupsieve-2.6.tar.gz", hash = "sha256:e2e68417777af359ec65daac1057404a3c8a5455bb8abc36f1a9866ab1a51abb", size = 101569 }
|
1457
|
+
wheels = [
|
1458
|
+
{ url = "https://files.pythonhosted.org/packages/d1/c2/fe97d779f3ef3b15f05c94a2f1e3d21732574ed441687474db9d342a7315/soupsieve-2.6-py3-none-any.whl", hash = "sha256:e72c4ff06e4fb6e4b5a9f0f55fe6e81514581fca1515028625d0f299c602ccc9", size = 36186 },
|
1459
|
+
]
|
1460
|
+
|
1310
1461
|
[[package]]
|
1311
1462
|
name = "sphinx"
|
1312
1463
|
version = "7.4.7"
|
@@ -1411,6 +1562,20 @@ wheels = [
|
|
1411
1562
|
{ url = "https://files.pythonhosted.org/packages/40/44/4a5f08c96eb108af5cb50b41f76142f0afa346dfa99d5296fe7202a11854/tabulate-0.9.0-py3-none-any.whl", hash = "sha256:024ca478df22e9340661486f85298cff5f6dcdba14f3813e8830015b9ed1948f", size = 35252 },
|
1412
1563
|
]
|
1413
1564
|
|
1565
|
+
[[package]]
|
1566
|
+
name = "taplo"
|
1567
|
+
version = "0.9.3"
|
1568
|
+
source = { registry = "https://pypi.org/simple" }
|
1569
|
+
sdist = { url = "https://files.pythonhosted.org/packages/71/79/513513960377e1212a28446acb323cf77dfce162e825a822f035b02a422d/taplo-0.9.3.tar.gz", hash = "sha256:6b73b45b9adbd20189d8981ac9055d5465227c58bbe1b0646a7588a1a5c07a1a", size = 102556 }
|
1570
|
+
wheels = [
|
1571
|
+
{ url = "https://files.pythonhosted.org/packages/61/42/a93c18ebb7cf3ee2a7a30dd2fda654aca458956c3b64bdfb9d82b2c42679/taplo-0.9.3-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:1c3db689406d538420c64aa779ac8694cf44c13a46e158d6df406de65980b9c7", size = 4248497 },
|
1572
|
+
{ url = "https://files.pythonhosted.org/packages/82/d2/f5b6e4a4f474f9fe613b5b91012520c3f62e46748a6ce9fd61fc2fb52fa2/taplo-0.9.3-py3-none-macosx_11_0_arm64.whl", hash = "sha256:1e7782f33f97e7aa658d18788748bce5cf3ce440eeb419cf5861cf542740e610", size = 4044421 },
|
1573
|
+
{ url = "https://files.pythonhosted.org/packages/7d/32/4ac46ff15bb9d060f50ad31fb3a80aa8ee1e6ca500104ca8569f6fbdee3d/taplo-0.9.3-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:29d4d7abfcc10bd536e5a43fe6ec2c1931507c1433e79df03ea22e1030611cb6", size = 4334420 },
|
1574
|
+
{ url = "https://files.pythonhosted.org/packages/ef/cc/656aed22a59cf4c50dcaaa66aaa570d4a1412acdd8ea429120a6bb00f336/taplo-0.9.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:33f12648f273478d7330cb3529c82f48f388501e1122e0bea78bce5ff5972b8b", size = 4468935 },
|
1575
|
+
{ url = "https://files.pythonhosted.org/packages/21/15/d8db1db6382b444122fa1a66fe5fe0dd5b04bfbe68c74bdb5345aec11eb2/taplo-0.9.3-py3-none-win32.whl", hash = "sha256:9ab7df76a3facc6d0dd2fe2dae3e8eb52fa458d31d27878d5eac14f5cbc0abac", size = 3482612 },
|
1576
|
+
{ url = "https://files.pythonhosted.org/packages/42/3c/df6641d7e2e84a6dd4de3b3a4426db7f6a7270c05bbdeadd523645c9c45f/taplo-0.9.3-py3-none-win_amd64.whl", hash = "sha256:7d80b630b93fb43cee99d1e1ee07b616236dc5615efaf7cd51074b4cffc33bab", size = 3985843 },
|
1577
|
+
]
|
1578
|
+
|
1414
1579
|
[[package]]
|
1415
1580
|
name = "tomli"
|
1416
1581
|
version = "2.0.2"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/src/pyproject_pre_commit/__init__.py
RENAMED
File without changes
|
{pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/src/pyproject_pre_commit/__version__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pyproject_pre_commit-0.3.2 → pyproject_pre_commit-0.3.3}/tests/test_pyproject_pre_commit.py
RENAMED
File without changes
|
File without changes
|