jacobus 2.0.0.dev0__tar.gz → 2.0.0.dev1__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.
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/PKG-INFO +1 -1
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/pyproject.toml +1 -1
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/src/jacobus/core/__init__.py +3 -3
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/src/jacobus.egg-info/PKG-INFO +1 -1
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/src/jacobus.egg-info/SOURCES.txt +0 -3
- jacobus-2.0.0.dev0/src/jacobus/_const/Const.py +0 -26
- jacobus-2.0.0.dev0/src/jacobus/_const/__init__.py +0 -0
- jacobus-2.0.0.dev0/src/jacobus/_const/const.toml +0 -5
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/LICENSE.txt +0 -0
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/MANIFEST.in +0 -0
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/README.rst +0 -0
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/setup.cfg +0 -0
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/src/jacobus/__init__.py +0 -0
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/src/jacobus/__main__.py +0 -0
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/src/jacobus/py.typed +0 -0
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/src/jacobus/tests/__init__.py +0 -0
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/src/jacobus/tests/test_jacobus_unittest.py +0 -0
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/src/jacobus.egg-info/dependency_links.txt +0 -0
- {jacobus-2.0.0.dev0 → jacobus-2.0.0.dev1}/src/jacobus.egg-info/top_level.txt +0 -0
|
@@ -7,8 +7,6 @@ from collections.abc import Iterable
|
|
|
7
7
|
from importlib import metadata
|
|
8
8
|
from typing import Optional
|
|
9
9
|
|
|
10
|
-
from jacobus._const.Const import Const
|
|
11
|
-
|
|
12
10
|
__all__ = ["main", "run"]
|
|
13
11
|
|
|
14
12
|
|
|
@@ -48,7 +46,7 @@ def main(args: typing.Optional[list[str]] = None, /) -> None:
|
|
|
48
46
|
parser: argparse.ArgumentParser
|
|
49
47
|
space: argparse.Namespace
|
|
50
48
|
parser = argparse.ArgumentParser(
|
|
51
|
-
description=
|
|
49
|
+
description="This project normalizes whitespace.",
|
|
52
50
|
fromfile_prefix_chars="@",
|
|
53
51
|
)
|
|
54
52
|
parser.add_argument(
|
|
@@ -60,11 +58,13 @@ def main(args: typing.Optional[list[str]] = None, /) -> None:
|
|
|
60
58
|
)
|
|
61
59
|
parser.add_argument(
|
|
62
60
|
"--indent",
|
|
61
|
+
help="This option alters the indentation.",
|
|
63
62
|
type=int,
|
|
64
63
|
)
|
|
65
64
|
parser.add_argument(
|
|
66
65
|
"filepatterns",
|
|
67
66
|
default=[],
|
|
67
|
+
help="These arguments give the patterns of the file.",
|
|
68
68
|
nargs="*",
|
|
69
69
|
)
|
|
70
70
|
space = parser.parse_args(args)
|
|
@@ -10,9 +10,6 @@ src/jacobus.egg-info/PKG-INFO
|
|
|
10
10
|
src/jacobus.egg-info/SOURCES.txt
|
|
11
11
|
src/jacobus.egg-info/dependency_links.txt
|
|
12
12
|
src/jacobus.egg-info/top_level.txt
|
|
13
|
-
src/jacobus/_const/Const.py
|
|
14
|
-
src/jacobus/_const/__init__.py
|
|
15
|
-
src/jacobus/_const/const.toml
|
|
16
13
|
src/jacobus/core/__init__.py
|
|
17
14
|
src/jacobus/tests/__init__.py
|
|
18
15
|
src/jacobus/tests/test_jacobus_unittest.py
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import enum
|
|
2
|
-
import functools
|
|
3
|
-
import tomllib
|
|
4
|
-
from importlib import resources
|
|
5
|
-
from typing import Any, Self
|
|
6
|
-
|
|
7
|
-
__all__ = ["Const"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Const(enum.StrEnum):
|
|
11
|
-
const = "jacobus.const/const.toml"
|
|
12
|
-
|
|
13
|
-
@functools.cached_property
|
|
14
|
-
def data(self: Self) -> dict[str, Any]:
|
|
15
|
-
text: str
|
|
16
|
-
text = resources.read_text(*self.value.split("/"))
|
|
17
|
-
return tomllib.loads(text)
|
|
18
|
-
|
|
19
|
-
@functools.cached_property
|
|
20
|
-
def varia(self: Self) -> dict[str, Any]:
|
|
21
|
-
ans: Any
|
|
22
|
-
ans = self.data.get("varia")
|
|
23
|
-
if isinstance(ans, dict):
|
|
24
|
-
return ans
|
|
25
|
-
else:
|
|
26
|
-
return dict()
|
|
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
|