identityfunction 1.2.0.post1__tar.gz → 1.2.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.
Files changed (21) hide show
  1. {identityfunction-1.2.0.post1/src/identityfunction.egg-info → identityfunction-1.2.1}/PKG-INFO +1 -1
  2. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/pyproject.toml +2 -1
  3. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/src/identityfunction/core/__init__.py +4 -2
  4. {identityfunction-1.2.0.post1 → identityfunction-1.2.1/src/identityfunction.egg-info}/PKG-INFO +1 -1
  5. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/LICENSE.txt +0 -0
  6. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/MANIFEST.in +0 -0
  7. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/README.rst +0 -0
  8. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/docs/v1.0.rst +0 -0
  9. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/docs/v1.1.rst +0 -0
  10. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/docs/v1.2.rst +0 -0
  11. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/run_tests.py +0 -0
  12. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/setup.cfg +0 -0
  13. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/src/identityfunction/__init__.py +0 -0
  14. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/src/identityfunction/__main__.py +0 -0
  15. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/src/identityfunction/py.typed +0 -0
  16. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/src/identityfunction/tests/__init__.py +0 -0
  17. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/src/identityfunction/tests/test_0.py +0 -0
  18. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/src/identityfunction/tests/test_1984.py +0 -0
  19. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/src/identityfunction.egg-info/SOURCES.txt +0 -0
  20. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/src/identityfunction.egg-info/dependency_links.txt +0 -0
  21. {identityfunction-1.2.0.post1 → identityfunction-1.2.1}/src/identityfunction.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: identityfunction
3
- Version: 1.2.0.post1
3
+ Version: 1.2.1
4
4
  Summary: This project provides the identity function.
5
5
  Author-email: Johannes <johannes.programming@gmail.com>
6
6
  License-Expression: MIT
@@ -6,7 +6,7 @@ requires = [
6
6
 
7
7
  [project]
8
8
  name = "identityfunction"
9
- version = "1.2.0.post1"
9
+ version = "1.2.1"
10
10
  description = "This project provides the identity function."
11
11
  readme = "README.rst"
12
12
  keywords = []
@@ -50,6 +50,7 @@ lint.select = [
50
50
  "PLE0605",
51
51
  "RUF022",
52
52
  "RUF068",
53
+ "TC",
53
54
  "UP035",
54
55
  ]
55
56
 
@@ -3,9 +3,11 @@ from __future__ import annotations
3
3
  __all__: list[str] = ["identityfunction", "main", "parse_args", "run"]
4
4
 
5
5
  import argparse
6
- from collections import abc
7
6
  from importlib import metadata
8
- from typing import Any, TypeVar
7
+ from typing import TYPE_CHECKING, Any, TypeVar
8
+
9
+ if TYPE_CHECKING:
10
+ from collections import abc
9
11
 
10
12
  Value = TypeVar("Value")
11
13
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: identityfunction
3
- Version: 1.2.0.post1
3
+ Version: 1.2.1
4
4
  Summary: This project provides the identity function.
5
5
  Author-email: Johannes <johannes.programming@gmail.com>
6
6
  License-Expression: MIT