annotate 2.0.0__tar.gz → 2.0.1__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.
- {annotate-2.0.0 → annotate-2.0.1}/CHANGES.rst +1 -1
- {annotate-2.0.0 → annotate-2.0.1}/PKG-INFO +3 -3
- {annotate-2.0.0 → annotate-2.0.1}/pyproject.toml +40 -17
- {annotate-2.0.0 → annotate-2.0.1}/src/annotate.egg-info/PKG-INFO +3 -3
- {annotate-2.0.0 → annotate-2.0.1}/src/annotate.egg-info/requires.txt +1 -1
- {annotate-2.0.0 → annotate-2.0.1}/.readthedocs.yml +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/LICENSE +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/MANIFEST.in +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/README.rst +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/docs/CHANGES.rst +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/docs/README.rst +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/docs/_static/.keep +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/docs/_templates/.keep +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/docs/conf.py +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/docs/index.rst +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/setup.cfg +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/src/annotate/__about__.py +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/src/annotate/__init__.py +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/src/annotate/_annotate.py +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/src/annotate/py.typed +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/src/annotate.egg-info/SOURCES.txt +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/src/annotate.egg-info/dependency_links.txt +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/src/annotate.egg-info/top_level.txt +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/src/annotate.egg-info/zip-safe +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/tests/__init__.py +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/tests/__main__.py +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/tests/data/.keep +0 -0
- {annotate-2.0.0 → annotate-2.0.1}/tests/test_main.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: annotate
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Decorator to set a function's __annotations__ like Py3.
|
|
5
5
|
Author: Adam Karpierz
|
|
6
6
|
Author-email: adam@karpierz.net
|
|
@@ -48,7 +48,7 @@ Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
|
|
|
48
48
|
Requires-Dist: nbsphinx>=0.9.7; extra == "doc"
|
|
49
49
|
Provides-Extra: test
|
|
50
50
|
Requires-Dist: deepdiff>=8.6.1; extra == "test"
|
|
51
|
-
Requires-Dist: rich>=14.
|
|
51
|
+
Requires-Dist: rich>=14.2.0; extra == "test"
|
|
52
52
|
Dynamic: license-file
|
|
53
53
|
|
|
54
54
|
annotate
|
|
@@ -290,7 +290,7 @@ Authors
|
|
|
290
290
|
Changelog
|
|
291
291
|
=========
|
|
292
292
|
|
|
293
|
-
2.0.
|
|
293
|
+
2.0.1 (2025-10-09)
|
|
294
294
|
------------------
|
|
295
295
|
- Mark the package as typed.
|
|
296
296
|
- 100% code coverage.
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
[build-system]
|
|
5
5
|
build-backend = 'setuptools.build_meta'
|
|
6
|
-
requires = ['setuptools>=80.9.0', 'packaging>=25.0.0', 'tox>=4.30.
|
|
6
|
+
requires = ['setuptools>=80.9.0', 'packaging>=25.0.0', 'tox>=4.30.3']
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = 'annotate'
|
|
10
|
-
version = '2.0.
|
|
10
|
+
version = '2.0.1'
|
|
11
11
|
description = '''Decorator to set a function's __annotations__ like Py3.'''
|
|
12
12
|
authors = [
|
|
13
13
|
{ name = 'Adam Karpierz' },
|
|
@@ -65,7 +65,7 @@ optional-dependencies.'doc' = [
|
|
|
65
65
|
]
|
|
66
66
|
optional-dependencies.'test' = [
|
|
67
67
|
'deepdiff>=8.6.1',
|
|
68
|
-
'rich>=14.
|
|
68
|
+
'rich>=14.2.0',
|
|
69
69
|
]
|
|
70
70
|
|
|
71
71
|
[project.scripts]
|
|
@@ -124,6 +124,8 @@ report.exclude_also = [
|
|
|
124
124
|
'''if\s+__name__.*\s*==\s*['"]__main__['"]\s*:''',
|
|
125
125
|
'^\s*@unittest\.skip\(',
|
|
126
126
|
'^\s*@unittest\.skipIf\(sys\.platform\.startswith\("win"\)',
|
|
127
|
+
'^\s*@unittest\.skipIf\(is_windows,',
|
|
128
|
+
'^\s*@unittest\.skipIf\(is_cpython,',
|
|
127
129
|
'if typing.TYPE_CHECKING:',
|
|
128
130
|
]
|
|
129
131
|
report.omit = [
|
|
@@ -177,13 +179,14 @@ env_list = [{replace='ref',of=['tool','tox','labels','py'],extend=true},
|
|
|
177
179
|
skip_missing_interpreters = true
|
|
178
180
|
requires = [
|
|
179
181
|
{replace='ref',of=['tool','tox','_','base','deps'],extend=true},
|
|
180
|
-
'tox>=4.30.
|
|
182
|
+
'tox>=4.30.3',
|
|
181
183
|
'virtualenv>=20.34.0',
|
|
182
184
|
'tox-backtick>=1.0.0',
|
|
183
185
|
]
|
|
184
186
|
[tool.tox.labels]
|
|
185
187
|
py = ['py310','py311','py312','py313','py314', 'pypy310','pypy311']
|
|
186
|
-
prepare = ['prepare']
|
|
188
|
+
prepare = ['cleanup', 'prepare']
|
|
189
|
+
cleanup = ['cleanup']
|
|
187
190
|
coverage = ['coverage']
|
|
188
191
|
typing = ['typing']
|
|
189
192
|
lint = ['lint']
|
|
@@ -202,10 +205,11 @@ package_subdir = 'annotate'
|
|
|
202
205
|
[tool.tox.env_run_base]
|
|
203
206
|
description = 'Run tests under {base_python}'
|
|
204
207
|
set_env.PYTHONDONTWRITEBYTECODE = '1'
|
|
205
|
-
set_env.
|
|
206
|
-
set_env.PKG_PVER = "`
|
|
207
|
-
set_env.
|
|
208
|
-
set_env.
|
|
208
|
+
set_env.TMP_DIR = '{env:TEMP:{env:TMP:{env:TMPDIR:/tmp}}}'
|
|
209
|
+
set_env.PKG_PVER = "`{env_python} -W ignore -c \"print('{py_dot_ver}'.replace('.', ''), end='')\" 2> nul`"
|
|
210
|
+
set_env.PKG_IMPL = "`{env_python} -W ignore -c \"print(dict(cpython='cp', pypy='pp').get('{py_impl}', ''), end='')\" 2> nul`"
|
|
211
|
+
set_env.PKG_NAME = "`{env_python} -W ignore -c \"import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_name(), end='')\" 2> nul`"
|
|
212
|
+
set_env.PKG_DIST = "`{env_python} -W ignore -c \"import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_fullname(), end='')\" 2> nul`"
|
|
209
213
|
commands = [
|
|
210
214
|
['{env_python}','--version'],
|
|
211
215
|
['{env_python}','-m','tests',{replace='posargs',extend=true}],
|
|
@@ -216,18 +220,35 @@ deps = [
|
|
|
216
220
|
]
|
|
217
221
|
|
|
218
222
|
[tool.tox.env.'prepare']
|
|
223
|
+
depends = ['cleanup']
|
|
219
224
|
base_python = {replace='ref',of=['tool','tox','_','base','base_python']}
|
|
220
225
|
skip_install = true
|
|
221
|
-
allowlist_externals = [
|
|
222
|
-
'cmd',
|
|
223
|
-
'.build',
|
|
224
|
-
]
|
|
226
|
+
allowlist_externals = ['cmd', '.build']
|
|
225
227
|
commands = [
|
|
226
228
|
['cmd','/C','if','exist','.build.cmd','.build.cmd'],
|
|
227
229
|
]
|
|
228
230
|
extras = []
|
|
229
231
|
deps = []
|
|
230
232
|
|
|
233
|
+
[tool.tox.env.'cleanup']
|
|
234
|
+
base_python = {replace='ref',of=['tool','tox','_','base','base_python']}
|
|
235
|
+
skip_install = true
|
|
236
|
+
no_package = true
|
|
237
|
+
env_log_dir = '{env:TMP_DIR}{/}tox.env.{env_name}-{env:PYTHONHASHSEED}{/}log'
|
|
238
|
+
env_tmp_dir = '{env:TMP_DIR}{/}tox.env.{env_name}-{env:PYTHONHASHSEED}{/}tmp'
|
|
239
|
+
allowlist_externals = ['cmd', '.clean']
|
|
240
|
+
commands = [
|
|
241
|
+
['cmd','/C','if','exist','.clean.cmd','.clean.cmd','2>','nul'],
|
|
242
|
+
['{env_python}','-W','ignore','-c',"import shutil ; shutil.rmtree('build', ignore_errors=True)"],
|
|
243
|
+
['{env_python}','-W','ignore','-c',"import shutil ; shutil.rmtree('dist', ignore_errors=True)"],
|
|
244
|
+
['{env_python}','-W','ignore','-c',"import shutil,glob ; [shutil.rmtree(item) for item in glob.glob('src/*.egg-info')]"],
|
|
245
|
+
['{env_python}','-W','ignore','-c',"import shutil,glob ; [shutil.rmtree(item) for item in glob.glob('**/__pycache__', recursive=True)]"],
|
|
246
|
+
['{env_python}','-W','ignore','-c',"import shutil,glob ; [shutil.rmtree(item) for item in glob.glob('**/.mypy_cache', recursive=True)]"],
|
|
247
|
+
['cmd','/C','if','exist','.tox','rmdir','/S/Q','.tox','2>','nul'],
|
|
248
|
+
]
|
|
249
|
+
extras = []
|
|
250
|
+
deps = []
|
|
251
|
+
|
|
231
252
|
[tool.tox.env.'coverage']
|
|
232
253
|
base_python = {replace='ref',of=['tool','tox','_','base','base_python']}
|
|
233
254
|
commands = [
|
|
@@ -238,15 +259,15 @@ commands = [
|
|
|
238
259
|
]
|
|
239
260
|
deps = [
|
|
240
261
|
{replace='ref',of=['tool','tox','env_run_base','deps'],extend=true},
|
|
241
|
-
'coverage>=7.10.
|
|
262
|
+
'coverage>=7.10.7',
|
|
242
263
|
'covdefaults>=2.3.0',
|
|
243
|
-
'diff-cover>=9.
|
|
264
|
+
'diff-cover>=9.7.1',
|
|
244
265
|
]
|
|
245
266
|
|
|
246
267
|
[tool.tox.env.'docs']
|
|
247
268
|
base_python = {replace='ref',of=['tool','tox','_','base','base_python']}
|
|
248
269
|
commands = [
|
|
249
|
-
['{env_python}','-m','sphinxlint','
|
|
270
|
+
['{env_python}','-m','sphinxlint','-i','#arch','-i','.tox','-i','build','-i','dist','-i','.mypy_cache'],
|
|
250
271
|
#['{env_python}','-m','sphinx.apidoc','-f','{env_site_packages_dir}/{[tool.tox._.base]package_subdir}'],
|
|
251
272
|
['{env_python}','-m','sphinx.cmd.build','-W','-a','-b','html','-E','./docs','./build/docs/html'],
|
|
252
273
|
['{env_python}','-m','sphinx.cmd.build','-W','-a','-b','linkcheck','./docs','./build/docs/html'],
|
|
@@ -261,12 +282,14 @@ deps = [
|
|
|
261
282
|
depends = [{replace='ref',of=['tool','tox','labels','py'],extend=true}, 'docs']
|
|
262
283
|
base_python = {replace='ref',of=['tool','tox','_','base','base_python']}
|
|
263
284
|
commands = [
|
|
285
|
+
['{env_python}','-m','check_manifest','-v'],
|
|
264
286
|
['{env_python}','-m','build'],
|
|
265
287
|
# check out for PyPi
|
|
266
288
|
['{env_python}','-m','twine','check','dist/*'],
|
|
267
289
|
]
|
|
268
290
|
deps = [
|
|
269
291
|
{replace='ref',of=['tool','tox','env_run_base','deps'],extend=true},
|
|
292
|
+
'check-manifest>=0.50',
|
|
270
293
|
'build>=1.3.0',
|
|
271
294
|
'twine>=6.2.0',
|
|
272
295
|
]
|
|
@@ -293,7 +316,7 @@ commands = [
|
|
|
293
316
|
extras = []
|
|
294
317
|
deps = [
|
|
295
318
|
{replace='ref',of=['tool','tox','_','base','deps'],extend=true},
|
|
296
|
-
'mypy>=1.
|
|
319
|
+
'mypy>=1.18.2',
|
|
297
320
|
'mypy_extensions>=1.1.0',
|
|
298
321
|
'types-setuptools>=80.9.0.20250822',
|
|
299
322
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: annotate
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Decorator to set a function's __annotations__ like Py3.
|
|
5
5
|
Author: Adam Karpierz
|
|
6
6
|
Author-email: adam@karpierz.net
|
|
@@ -48,7 +48,7 @@ Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
|
|
|
48
48
|
Requires-Dist: nbsphinx>=0.9.7; extra == "doc"
|
|
49
49
|
Provides-Extra: test
|
|
50
50
|
Requires-Dist: deepdiff>=8.6.1; extra == "test"
|
|
51
|
-
Requires-Dist: rich>=14.
|
|
51
|
+
Requires-Dist: rich>=14.2.0; extra == "test"
|
|
52
52
|
Dynamic: license-file
|
|
53
53
|
|
|
54
54
|
annotate
|
|
@@ -290,7 +290,7 @@ Authors
|
|
|
290
290
|
Changelog
|
|
291
291
|
=========
|
|
292
292
|
|
|
293
|
-
2.0.
|
|
293
|
+
2.0.1 (2025-10-09)
|
|
294
294
|
------------------
|
|
295
295
|
- Mark the package as typed.
|
|
296
296
|
- 100% code coverage.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|