check-empty 1.2.1__tar.gz → 1.2.2__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.
- {check_empty-1.2.1 → check_empty-1.2.2}/PKG-INFO +9 -14
- {check_empty-1.2.1 → check_empty-1.2.2}/README.md +7 -6
- {check_empty-1.2.1 → check_empty-1.2.2}/check_empty/__init__.py +1 -1
- {check_empty-1.2.1 → check_empty-1.2.2}/check_empty/__main__.py +1 -1
- {check_empty-1.2.1 → check_empty-1.2.2}/pyproject.toml +18 -32
- {check_empty-1.2.1 → check_empty-1.2.2}/pyproject.toml.orig +10 -10
- {check_empty-1.2.1 → check_empty-1.2.2}/AUTHORS.md +0 -0
- {check_empty-1.2.1 → check_empty-1.2.2}/LICENSE +0 -0
- {check_empty-1.2.1 → check_empty-1.2.2}/check_empty/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: check-empty
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: Command-line utility, as well as a hook usable by the Python pre-commit framework, and a GitHub Action, to ensure that selected files are empty.
|
|
5
5
|
Keywords: check,command-line,empty,files,github-action,helper,hook,lightweight,pre-commit,prek,tool,utility
|
|
6
6
|
Author: Jonathan Dung
|
|
@@ -24,19 +24,13 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
26
|
Classifier: Programming Language :: Python :: 3.15
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.16
|
|
27
28
|
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
28
29
|
Classifier: Topic :: Utilities
|
|
29
30
|
Classifier: Typing :: Typed
|
|
30
|
-
Requires-Dist: furo==2025.12.19 ; python_full_version >= '3.9' and extra == 'docs'
|
|
31
|
-
Requires-Dist: sphinx==9.1.0 ; python_full_version >= '3.12' and extra == 'docs'
|
|
32
|
-
Requires-Dist: sphinx-argparse-cli==1.22.1 ; python_full_version >= '3.11' and extra == 'docs'
|
|
33
|
-
Requires-Dist: sphinx-copybutton==0.5.2 ; python_full_version >= '3.7' and extra == 'docs'
|
|
34
|
-
Requires-Dist: sphinx-lint==1.0.2 ; python_full_version >= '3.10' and extra == 'docs'
|
|
35
|
-
Requires-Dist: sphinx-notfound-page==1.1.0 ; python_full_version >= '3.8' and extra == 'docs'
|
|
36
31
|
Maintainer: Jonathan Dung
|
|
37
32
|
Maintainer-email: Jonathan Dung <jonathandung@yahoo.com>
|
|
38
33
|
Requires-Python: >=3.6
|
|
39
|
-
Provides-Extra: docs
|
|
40
34
|
Description-Content-Type: text/markdown
|
|
41
35
|
|
|
42
36
|
# [check-empty](https://pypi.org/p/check-empty)
|
|
@@ -121,7 +115,7 @@ As a pre-commit hook:
|
|
|
121
115
|
# .pre-commit-config.yaml
|
|
122
116
|
repos:
|
|
123
117
|
- repo: https://github.com/jonathandung/check-empty
|
|
124
|
-
rev: v1.2.
|
|
118
|
+
rev: v1.2.2 # repository version
|
|
125
119
|
hooks:
|
|
126
120
|
- id: check-empty # the hook
|
|
127
121
|
args: # example list of arguments
|
|
@@ -137,7 +131,7 @@ equivalent in `prek.toml` format:
|
|
|
137
131
|
```toml
|
|
138
132
|
[[repos]]
|
|
139
133
|
repo = "https://github.com/jonathandung/check-empty"
|
|
140
|
-
rev = "v1.2.
|
|
134
|
+
rev = "v1.2.2"
|
|
141
135
|
|
|
142
136
|
[[repos.hooks]]
|
|
143
137
|
id = "check-empty"
|
|
@@ -161,7 +155,7 @@ or (TOML 1.1+):
|
|
|
161
155
|
# using multiline inline tables
|
|
162
156
|
[[repos]]
|
|
163
157
|
repo = "https://github.com/jonathandung/check-empty"
|
|
164
|
-
rev = "v1.2.
|
|
158
|
+
rev = "v1.2.2"
|
|
165
159
|
hooks = [{
|
|
166
160
|
id = "check-empty",
|
|
167
161
|
args = ["-Q"],
|
|
@@ -181,7 +175,7 @@ As a GitHub Actions workflow step:
|
|
|
181
175
|
|
|
182
176
|
```yaml
|
|
183
177
|
steps:
|
|
184
|
-
- uses: jonathandung/check-empty@v1.2.
|
|
178
|
+
- uses: jonathandung/check-empty@v1.2.2 # the latest version on the GitHub Actions
|
|
185
179
|
# marketplace; this step will fail and subsequent jobs will not run if any file is
|
|
186
180
|
# not empty
|
|
187
181
|
with:
|
|
@@ -233,8 +227,9 @@ to read the
|
|
|
233
227
|
and the
|
|
234
228
|
[contributing guide](https://github.com/jonathandung/.github/blob/main/CONTRIBUTING.md).
|
|
235
229
|
|
|
236
|
-
To build the docs locally (needs Python 3.12+), install the `docs`
|
|
237
|
-
|
|
230
|
+
To build the docs locally (needs Python 3.12+), install with the `docs`
|
|
231
|
+
[group](https://packaging.python.org/en/latest/specifications/dependency-groups),
|
|
232
|
+
preferably into a virtual environment.
|
|
238
233
|
|
|
239
234
|
Tests are run with:
|
|
240
235
|
|
|
@@ -80,7 +80,7 @@ As a pre-commit hook:
|
|
|
80
80
|
# .pre-commit-config.yaml
|
|
81
81
|
repos:
|
|
82
82
|
- repo: https://github.com/jonathandung/check-empty
|
|
83
|
-
rev: v1.2.
|
|
83
|
+
rev: v1.2.2 # repository version
|
|
84
84
|
hooks:
|
|
85
85
|
- id: check-empty # the hook
|
|
86
86
|
args: # example list of arguments
|
|
@@ -96,7 +96,7 @@ equivalent in `prek.toml` format:
|
|
|
96
96
|
```toml
|
|
97
97
|
[[repos]]
|
|
98
98
|
repo = "https://github.com/jonathandung/check-empty"
|
|
99
|
-
rev = "v1.2.
|
|
99
|
+
rev = "v1.2.2"
|
|
100
100
|
|
|
101
101
|
[[repos.hooks]]
|
|
102
102
|
id = "check-empty"
|
|
@@ -120,7 +120,7 @@ or (TOML 1.1+):
|
|
|
120
120
|
# using multiline inline tables
|
|
121
121
|
[[repos]]
|
|
122
122
|
repo = "https://github.com/jonathandung/check-empty"
|
|
123
|
-
rev = "v1.2.
|
|
123
|
+
rev = "v1.2.2"
|
|
124
124
|
hooks = [{
|
|
125
125
|
id = "check-empty",
|
|
126
126
|
args = ["-Q"],
|
|
@@ -140,7 +140,7 @@ As a GitHub Actions workflow step:
|
|
|
140
140
|
|
|
141
141
|
```yaml
|
|
142
142
|
steps:
|
|
143
|
-
- uses: jonathandung/check-empty@v1.2.
|
|
143
|
+
- uses: jonathandung/check-empty@v1.2.2 # the latest version on the GitHub Actions
|
|
144
144
|
# marketplace; this step will fail and subsequent jobs will not run if any file is
|
|
145
145
|
# not empty
|
|
146
146
|
with:
|
|
@@ -192,8 +192,9 @@ to read the
|
|
|
192
192
|
and the
|
|
193
193
|
[contributing guide](https://github.com/jonathandung/.github/blob/main/CONTRIBUTING.md).
|
|
194
194
|
|
|
195
|
-
To build the docs locally (needs Python 3.12+), install the `docs`
|
|
196
|
-
|
|
195
|
+
To build the docs locally (needs Python 3.12+), install with the `docs`
|
|
196
|
+
[group](https://packaging.python.org/en/latest/specifications/dependency-groups),
|
|
197
|
+
preferably into a virtual environment.
|
|
197
198
|
|
|
198
199
|
Tests are run with:
|
|
199
200
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["uv_build>=0.12.
|
|
2
|
+
requires = ["uv_build>=0.12.10"]
|
|
3
3
|
build-backend = "uv_build"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
@@ -20,6 +20,7 @@ classifiers = [
|
|
|
20
20
|
"Programming Language :: Python :: 3.13",
|
|
21
21
|
"Programming Language :: Python :: 3.14",
|
|
22
22
|
"Programming Language :: Python :: 3.15",
|
|
23
|
+
"Programming Language :: Python :: 3.16",
|
|
23
24
|
"Programming Language :: Python :: Free Threading :: 3 - Stable",
|
|
24
25
|
"Topic :: Utilities",
|
|
25
26
|
"Typing :: Typed",
|
|
@@ -47,7 +48,7 @@ license-files = [
|
|
|
47
48
|
name = "check-empty"
|
|
48
49
|
readme = "README.md"
|
|
49
50
|
requires-python = ">=3.6"
|
|
50
|
-
version = "1.2.
|
|
51
|
+
version = "1.2.2"
|
|
51
52
|
|
|
52
53
|
[[project.authors]]
|
|
53
54
|
name = "Jonathan Dung"
|
|
@@ -57,21 +58,21 @@ email = "jonathandung@yahoo.com"
|
|
|
57
58
|
name = "Jonathan Dung"
|
|
58
59
|
email = "jonathandung@yahoo.com"
|
|
59
60
|
|
|
60
|
-
[project.optional-dependencies]
|
|
61
|
-
docs = [
|
|
62
|
-
"furo==2025.12.19; python_version>='3.9'",
|
|
63
|
-
"sphinx==9.1.0; python_version>='3.12'",
|
|
64
|
-
"sphinx-argparse-cli==1.22.1; python_version>='3.11'",
|
|
65
|
-
"sphinx-copybutton==0.5.2; python_version>='3.7'",
|
|
66
|
-
"sphinx-lint==1.0.2; python_version>='3.10'",
|
|
67
|
-
"sphinx-notfound-page==1.1.0; python_version>='3.8'",
|
|
68
|
-
]
|
|
69
|
-
|
|
70
61
|
[project.scripts]
|
|
71
62
|
check-empty = "check_empty.__main__:main"
|
|
72
63
|
|
|
64
|
+
[dependency-groups]
|
|
65
|
+
docs = [
|
|
66
|
+
"furo==2025.12.19",
|
|
67
|
+
"sphinx==9.1.0",
|
|
68
|
+
"sphinx-argparse-cli==1.22.1",
|
|
69
|
+
"sphinx-copybutton==0.5.2",
|
|
70
|
+
"sphinx-lint==1.0.2",
|
|
71
|
+
"sphinx-notfound-page==1.1.0",
|
|
72
|
+
]
|
|
73
|
+
|
|
73
74
|
[tool.ruff]
|
|
74
|
-
required-version = ">=0.16.
|
|
75
|
+
required-version = ">=0.16.6"
|
|
75
76
|
target-version = "py37"
|
|
76
77
|
|
|
77
78
|
[tool.ruff.analyze]
|
|
@@ -128,26 +129,11 @@ all = "error"
|
|
|
128
129
|
missing-override-decorator = "ignore"
|
|
129
130
|
|
|
130
131
|
[tool.uv]
|
|
131
|
-
required-version = ">=0.12.
|
|
132
|
-
|
|
133
|
-
[tool.uv.audit]
|
|
134
|
-
ignore = [
|
|
135
|
-
"GHSA-2xpw-w6gg-jr37",
|
|
136
|
-
"GHSA-34jh-p97f-mpxf",
|
|
137
|
-
"GHSA-38jv-5279-wg99",
|
|
138
|
-
"GHSA-48p4-8xcf-vxj5",
|
|
139
|
-
"GHSA-5239-wwwm-4pmq",
|
|
140
|
-
"GHSA-65pc-fj4g-8rjx",
|
|
141
|
-
"GHSA-9hjg-9r4m-mvj7",
|
|
142
|
-
"GHSA-9wx4-h78v-vm56",
|
|
143
|
-
"GHSA-gc5v-m9x4-r6x2",
|
|
144
|
-
"GHSA-gm62-xv2j-4w53",
|
|
145
|
-
"GHSA-jfmj-5v4g-7637",
|
|
146
|
-
"GHSA-mf9v-mfxr-j63j",
|
|
147
|
-
"GHSA-pq67-6m6q-mj2v",
|
|
148
|
-
"GHSA-qccp-gfcp-xxvc",
|
|
149
|
-
]
|
|
132
|
+
required-version = ">=0.12.10"
|
|
150
133
|
|
|
151
134
|
[tool.uv.build-backend]
|
|
152
135
|
module-name = "check_empty"
|
|
153
136
|
module-root = ""
|
|
137
|
+
|
|
138
|
+
[tool.uv.dependency-groups.docs]
|
|
139
|
+
requires-python = ">=3.12"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["uv_build>=0.12.
|
|
2
|
+
requires = ["uv_build>=0.12.10"]
|
|
3
3
|
build-backend = "uv_build"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
authors = [{name = "Jonathan Dung", email = "jonathandung@yahoo.com"}]
|
|
7
|
-
classifiers = ["Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", "Programming Language :: Python :: 3.15", "Programming Language :: Python :: Free Threading :: 3 - Stable", "Topic :: Utilities", "Typing :: Typed"]
|
|
7
|
+
classifiers = ["Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", "Programming Language :: Python :: 3.15", "Programming Language :: Python :: 3.16", "Programming Language :: Python :: Free Threading :: 3 - Stable", "Topic :: Utilities", "Typing :: Typed"]
|
|
8
8
|
description = "Command-line utility, as well as a hook usable by the Python pre-commit framework, and a GitHub Action, to ensure that selected files are empty."
|
|
9
9
|
keywords = ["check", "command-line", "empty", "files", "github-action", "helper", "hook", "lightweight", "pre-commit", "prek", "tool", "utility"]
|
|
10
10
|
license = "MIT"
|
|
@@ -13,16 +13,16 @@ maintainers = [{name = "Jonathan Dung", email = "jonathandung@yahoo.com"}]
|
|
|
13
13
|
name = "check-empty"
|
|
14
14
|
readme = "README.md"
|
|
15
15
|
requires-python = ">=3.6"
|
|
16
|
-
version = "1.2.
|
|
16
|
+
version = "1.2.2"
|
|
17
17
|
|
|
18
|
-
[
|
|
19
|
-
docs = ["furo==2025.12.19
|
|
18
|
+
[dependency-groups]
|
|
19
|
+
docs = ["furo==2025.12.19", "sphinx==9.1.0", "sphinx-argparse-cli==1.22.1", "sphinx-copybutton==0.5.2", "sphinx-lint==1.0.2", "sphinx-notfound-page==1.1.0"]
|
|
20
20
|
|
|
21
21
|
[project.scripts]
|
|
22
22
|
check-empty = "check_empty.__main__:main"
|
|
23
23
|
|
|
24
24
|
[tool.ruff]
|
|
25
|
-
required-version = ">=0.16.
|
|
25
|
+
required-version = ">=0.16.6"
|
|
26
26
|
target-version = "py37"
|
|
27
27
|
|
|
28
28
|
[tool.ruff.analyze]
|
|
@@ -58,11 +58,11 @@ all = "error"
|
|
|
58
58
|
missing-override-decorator = "ignore"
|
|
59
59
|
|
|
60
60
|
[tool.uv]
|
|
61
|
-
required-version = ">=0.12.
|
|
62
|
-
|
|
63
|
-
[tool.uv.audit]
|
|
64
|
-
ignore = ["GHSA-2xpw-w6gg-jr37", "GHSA-34jh-p97f-mpxf", "GHSA-38jv-5279-wg99", "GHSA-48p4-8xcf-vxj5", "GHSA-5239-wwwm-4pmq", "GHSA-65pc-fj4g-8rjx", "GHSA-9hjg-9r4m-mvj7", "GHSA-9wx4-h78v-vm56", "GHSA-gc5v-m9x4-r6x2", "GHSA-gm62-xv2j-4w53", "GHSA-jfmj-5v4g-7637", "GHSA-mf9v-mfxr-j63j", "GHSA-pq67-6m6q-mj2v", "GHSA-qccp-gfcp-xxvc"]
|
|
61
|
+
required-version = ">=0.12.10"
|
|
65
62
|
|
|
66
63
|
[tool.uv.build-backend]
|
|
67
64
|
module-name = "check_empty"
|
|
68
65
|
module-root = ""
|
|
66
|
+
|
|
67
|
+
[tool.uv.dependency-groups]
|
|
68
|
+
docs = {requires-python = ">=3.12"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|