omdev 0.0.0.dev224__py3-none-any.whl → 0.0.0.dev226__py3-none-any.whl
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.
- omdev/amalg/typing.py +7 -1
- omdev/ci/requirements.py +1 -1
- omdev/git/revisions.py +2 -2
- omdev/git/shallow.py +1 -1
- omdev/git/status.py +1 -1
- omdev/precheck/lite.py +1 -1
- omdev/pyproject/pkg.py +1 -1
- omdev/scripts/ci.py +600 -296
- omdev/scripts/interp.py +501 -343
- omdev/scripts/pyproject.py +603 -299
- {omdev-0.0.0.dev224.dist-info → omdev-0.0.0.dev226.dist-info}/METADATA +2 -2
- {omdev-0.0.0.dev224.dist-info → omdev-0.0.0.dev226.dist-info}/RECORD +16 -16
- {omdev-0.0.0.dev224.dist-info → omdev-0.0.0.dev226.dist-info}/LICENSE +0 -0
- {omdev-0.0.0.dev224.dist-info → omdev-0.0.0.dev226.dist-info}/WHEEL +0 -0
- {omdev-0.0.0.dev224.dist-info → omdev-0.0.0.dev226.dist-info}/entry_points.txt +0 -0
- {omdev-0.0.0.dev224.dist-info → omdev-0.0.0.dev226.dist-info}/top_level.txt +0 -0
omdev/amalg/typing.py
CHANGED
@@ -89,9 +89,15 @@ def skip_root_level_if_type_checking_block(
|
|
89
89
|
) -> int:
|
90
90
|
def skip_block():
|
91
91
|
nonlocal i
|
92
|
+
|
93
|
+
nl = cls[i]
|
94
|
+
if nl[0].name != 'INDENT':
|
95
|
+
raise RuntimeError
|
96
|
+
i += 1
|
97
|
+
|
92
98
|
while True:
|
93
99
|
nl = cls[i]
|
94
|
-
if nl and nl[0].name
|
100
|
+
if nl and nl[0].name == 'DEDENT':
|
95
101
|
return nl
|
96
102
|
i += 1
|
97
103
|
|
omdev/ci/requirements.py
CHANGED
omdev/git/revisions.py
CHANGED
@@ -4,8 +4,8 @@ import os.path
|
|
4
4
|
import subprocess
|
5
5
|
import typing as ta
|
6
6
|
|
7
|
-
from omlish.subprocesses import
|
8
|
-
from omlish.subprocesses import
|
7
|
+
from omlish.subprocesses.sync import subprocesses
|
8
|
+
from omlish.subprocesses.wrap import subprocess_maybe_shell_wrap_exec
|
9
9
|
|
10
10
|
|
11
11
|
def get_git_revision(
|
omdev/git/shallow.py
CHANGED
omdev/git/status.py
CHANGED
@@ -7,7 +7,7 @@ import subprocess
|
|
7
7
|
import typing as ta
|
8
8
|
|
9
9
|
from omlish.lite.check import check
|
10
|
-
from omlish.subprocesses import subprocess_maybe_shell_wrap_exec
|
10
|
+
from omlish.subprocesses.wrap import subprocess_maybe_shell_wrap_exec
|
11
11
|
|
12
12
|
|
13
13
|
_GIT_STATUS_LINE_ESCAPE_CODES: ta.Mapping[str, str] = {
|
omdev/precheck/lite.py
CHANGED
@@ -9,7 +9,7 @@ import textwrap
|
|
9
9
|
import typing as ta
|
10
10
|
|
11
11
|
from omlish import cached
|
12
|
-
from omlish.subprocesses import subprocess_maybe_shell_wrap_exec
|
12
|
+
from omlish.subprocesses.wrap import subprocess_maybe_shell_wrap_exec
|
13
13
|
|
14
14
|
from .. import magic
|
15
15
|
from .base import Precheck
|
omdev/pyproject/pkg.py
CHANGED
@@ -38,7 +38,7 @@ import typing as ta
|
|
38
38
|
from omlish.formats.toml.writer import TomlWriter
|
39
39
|
from omlish.lite.cached import cached_nullary
|
40
40
|
from omlish.lite.logs import log
|
41
|
-
from omlish.subprocesses import subprocesses
|
41
|
+
from omlish.subprocesses.sync import subprocesses
|
42
42
|
|
43
43
|
from ..cexts.magic import CextMagic
|
44
44
|
from ..magic.find import find_magic_files
|