omdev 0.0.0.dev424__py3-none-any.whl → 0.0.0.dev425__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.
@@ -73,7 +73,7 @@
73
73
  },
74
74
  {
75
75
  "module": ".imgur",
76
- "attr": "_FOO_CLI_MODULE",
76
+ "attr": "_CLI_MODULE",
77
77
  "file": "omdev/imgur.py",
78
78
  "line": 136,
79
79
  "value": {
@@ -328,18 +328,6 @@
328
328
  }
329
329
  }
330
330
  },
331
- {
332
- "module": ".tools.antlr.__main__",
333
- "attr": "_CLI_MODULE",
334
- "file": "omdev/tools/antlr/__main__.py",
335
- "line": 4,
336
- "value": {
337
- "!.cli.types.CliModule": {
338
- "name": "antlr",
339
- "module": "omdev.tools.antlr.__main__"
340
- }
341
- }
342
- },
343
331
  {
344
332
  "module": ".tools.cloc",
345
333
  "attr": "_CLI_MODULE",
@@ -8,7 +8,7 @@ from omlish.asyncs.asyncio.subprocesses import asyncio_subprocesses
8
8
  from omlish.lite.cached import async_cached_nullary
9
9
  from omlish.lite.cached import cached_nullary
10
10
  from omlish.lite.contextmanagers import ExitStacked
11
- from omlish.logs.timing import log_timing_context
11
+ from omlish.logs.utils import log_timing_context
12
12
  from omlish.os.temp import temp_dir_context
13
13
 
14
14
  from ...oci.building import BuiltOciImageIndexRepository
omdev/imgur.py CHANGED
@@ -130,11 +130,11 @@ def _main() -> None:
130
130
 
131
131
  print(resp.data.link)
132
132
 
133
- Cli()(exit=True)
133
+ Cli()(exit=True) # noqa
134
134
 
135
135
 
136
136
  # @omlish-manifest
137
- _FOO_CLI_MODULE = CliModule('imgur', __name__)
137
+ _CLI_MODULE = CliModule('imgur', __name__)
138
138
 
139
139
 
140
140
  if __name__ == '__main__':
@@ -407,7 +407,7 @@ class ManifestBuilder:
407
407
  ])))
408
408
 
409
409
  if write:
410
- with open(os.path.join(pkg_dir, '.manifests.json'), 'w') as f: # noqa
410
+ with open(os.path.join(pkg_dir, '.omlish-manifests.json'), 'w') as f: # noqa
411
411
  f.write(json_dumps_pretty([dc.asdict(m) for m in manifests]))
412
412
  f.write('\n')
413
413
 
@@ -425,7 +425,7 @@ def check_package_manifests(
425
425
  if not os.path.isdir(pkg_dir) or not os.path.isfile(os.path.join(pkg_dir, '__init__.py')):
426
426
  raise Exception(pkg_dir)
427
427
 
428
- manifests_file = os.path.join(pkg_dir, '.manifests.json')
428
+ manifests_file = os.path.join(pkg_dir, '.omlish-manifests.json')
429
429
  if not os.path.isfile(manifests_file):
430
430
  raise Exception(f'No manifests file: {manifests_file}')
431
431
 
omdev/pyproject/pkg.py CHANGED
@@ -334,7 +334,7 @@ class PyprojectPackageGenerator(BasePyprojectPackageGenerator):
334
334
  # '*.c',
335
335
  # '*.cc',
336
336
  # '*.h',
337
- # '.manifests.json',
337
+ # '.omlish-manifests.json',
338
338
  # 'LICENSE',
339
339
  # ],
340
340
  # }