raisefunction 1.0.2__tar.gz → 1.0.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.
@@ -1,8 +1,8 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: raisefunction
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: This project provides a function that raises errors passed to it.
5
- Author-email: Johannes <johannes-programming@mailfence.com>
5
+ Author-email: Johannes <johannes.programming@gmail.com>
6
6
  License: The MIT License (MIT)
7
7
 
8
8
  Copyright (c) 2025 Johannes
@@ -37,10 +37,11 @@ Classifier: Programming Language :: Python
37
37
  Classifier: Programming Language :: Python :: 3
38
38
  Classifier: Programming Language :: Python :: 3 :: Only
39
39
  Classifier: Typing :: Typed
40
- Requires-Python: >=3.8
40
+ Requires-Python: >=3.11
41
41
  Description-Content-Type: text/x-rst
42
42
  License-File: LICENSE.txt
43
- Requires-Dist: overloadable>=1.0.9
43
+ Requires-Dist: overloadable<2,>=1.0.14
44
+ Dynamic: license-file
44
45
 
45
46
  =============
46
47
  raisefunction
@@ -6,7 +6,7 @@ requires = [
6
6
 
7
7
  [project]
8
8
  authors = [
9
- { email = "johannes-programming@mailfence.com", name = "Johannes" },
9
+ { email = "johannes.programming@gmail.com", name = "Johannes" },
10
10
  ]
11
11
  classifiers = [
12
12
  "Development Status :: 5 - Production/Stable",
@@ -20,14 +20,14 @@ classifiers = [
20
20
  "Typing :: Typed",
21
21
  ]
22
22
  dependencies = [
23
- "overloadable>=1.0.9",
23
+ "overloadable>=1.0.14,<2",
24
24
  ]
25
25
  description = "This project provides a function that raises errors passed to it."
26
26
  keywords = []
27
27
  name = "raisefunction"
28
28
  readme = "README.rst"
29
- requires-python = ">=3.8"
30
- version = "1.0.2"
29
+ requires-python = ">=3.11"
30
+ version = "1.0.3"
31
31
 
32
32
  [project.license]
33
33
  file = "LICENSE.txt"
@@ -8,8 +8,8 @@ __all__ = ["raisefunction"]
8
8
  @overloadable
9
9
  def raisefunction(*args: Any, **kwargs: Any) -> int:
10
10
  "This function works as dispatcher."
11
- argc = len(args)
12
- keys = set(kwargs.keys())
11
+ argc: int = len(args)
12
+ keys: set = set(kwargs.keys())
13
13
  if argc <= 1 and keys == set():
14
14
  return 1
15
15
  if argc == 0 and keys == {"exc"}:
@@ -1,8 +1,8 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: raisefunction
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: This project provides a function that raises errors passed to it.
5
- Author-email: Johannes <johannes-programming@mailfence.com>
5
+ Author-email: Johannes <johannes.programming@gmail.com>
6
6
  License: The MIT License (MIT)
7
7
 
8
8
  Copyright (c) 2025 Johannes
@@ -37,10 +37,11 @@ Classifier: Programming Language :: Python
37
37
  Classifier: Programming Language :: Python :: 3
38
38
  Classifier: Programming Language :: Python :: 3 :: Only
39
39
  Classifier: Typing :: Typed
40
- Requires-Python: >=3.8
40
+ Requires-Python: >=3.11
41
41
  Description-Content-Type: text/x-rst
42
42
  License-File: LICENSE.txt
43
- Requires-Dist: overloadable>=1.0.9
43
+ Requires-Dist: overloadable<2,>=1.0.14
44
+ Dynamic: license-file
44
45
 
45
46
  =============
46
47
  raisefunction
@@ -0,0 +1 @@
1
+ overloadable<2,>=1.0.14
@@ -1 +0,0 @@
1
- overloadable>=1.0.9
File without changes
File without changes
File without changes
File without changes