runem 0.0.29__py3-none-any.whl → 0.0.31__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.
- runem/VERSION +1 -1
- runem/cli.py +1 -0
- runem/command_line.py +33 -8
- runem/config.py +58 -9
- runem/config_metadata.py +8 -0
- runem/config_parse.py +188 -13
- runem/files.py +50 -7
- runem/hook_manager.py +116 -0
- runem/job_execute.py +22 -21
- runem/job_filter.py +2 -2
- runem/job_runner_simple_command.py +7 -1
- runem/job_wrapper.py +11 -5
- runem/job_wrapper_python.py +7 -7
- runem/log.py +8 -0
- runem/report.py +18 -14
- runem/runem.py +30 -13
- runem/types.py +47 -4
- {runem-0.0.29.dist-info → runem-0.0.31.dist-info}/METADATA +18 -28
- runem-0.0.31.dist-info/RECORD +33 -0
- runem-0.0.29.dist-info/RECORD +0 -32
- {runem-0.0.29.dist-info → runem-0.0.31.dist-info}/LICENSE +0 -0
- {runem-0.0.29.dist-info → runem-0.0.31.dist-info}/WHEEL +0 -0
- {runem-0.0.29.dist-info → runem-0.0.31.dist-info}/entry_points.txt +0 -0
- {runem-0.0.29.dist-info → runem-0.0.31.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: runem
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.31
|
4
4
|
Summary: Awesome runem created by lursight
|
5
5
|
Home-page: https://github.com/lursight/runem/
|
6
6
|
Author: lursight
|
@@ -10,26 +10,26 @@ Requires-Dist: halo
|
|
10
10
|
Requires-Dist: packaging
|
11
11
|
Requires-Dist: PyYAML
|
12
12
|
Provides-Extra: test
|
13
|
-
Requires-Dist: black ==
|
14
|
-
Requires-Dist: coverage ==7.
|
13
|
+
Requires-Dist: black ==24.3.0 ; extra == 'test'
|
14
|
+
Requires-Dist: coverage ==7.4.4 ; extra == 'test'
|
15
15
|
Requires-Dist: docformatter ==1.7.5 ; extra == 'test'
|
16
16
|
Requires-Dist: flake8-bugbear ==24.2.6 ; extra == 'test'
|
17
17
|
Requires-Dist: flake8 ==7.0.0 ; extra == 'test'
|
18
18
|
Requires-Dist: gitchangelog ==3.0.4 ; extra == 'test'
|
19
|
-
Requires-Dist: isort ==5.
|
19
|
+
Requires-Dist: isort ==5.13.2 ; extra == 'test'
|
20
20
|
Requires-Dist: mkdocs ==1.5.3 ; extra == 'test'
|
21
|
-
Requires-Dist: mypy ==1.
|
21
|
+
Requires-Dist: mypy ==1.9.0 ; extra == 'test'
|
22
22
|
Requires-Dist: pydocstyle ==6.3.0 ; extra == 'test'
|
23
|
-
Requires-Dist: pylint ==3.0
|
23
|
+
Requires-Dist: pylint ==3.1.0 ; extra == 'test'
|
24
24
|
Requires-Dist: pylama ==8.4.1 ; extra == 'test'
|
25
25
|
Requires-Dist: pytest-cov ==4.1.0 ; extra == 'test'
|
26
26
|
Requires-Dist: pytest-profiling ==1.7.0 ; extra == 'test'
|
27
|
-
Requires-Dist: pytest-xdist ==3.
|
28
|
-
Requires-Dist: pytest ==
|
27
|
+
Requires-Dist: pytest-xdist ==3.5.0 ; extra == 'test'
|
28
|
+
Requires-Dist: pytest ==8.1.1 ; extra == 'test'
|
29
29
|
Requires-Dist: setuptools ; extra == 'test'
|
30
30
|
Requires-Dist: termplotlib ==0.3.9 ; extra == 'test'
|
31
|
-
Requires-Dist: types-PyYAML ==6.0.12.
|
32
|
-
Requires-Dist: requests-mock ==1.
|
31
|
+
Requires-Dist: types-PyYAML ==6.0.12.20240311 ; extra == 'test'
|
32
|
+
Requires-Dist: requests-mock ==1.11.0 ; extra == 'test'
|
33
33
|
Requires-Dist: types-setuptools ; extra == 'test'
|
34
34
|
|
35
35
|
# Run 'em
|
@@ -40,7 +40,7 @@ Requires-Dist: types-setuptools ; extra == 'test'
|
|
40
40
|
|
41
41
|
## 1. Overview
|
42
42
|
|
43
|
-
The core objective of Run'em's is to minimize the wall-clock time required for
|
43
|
+
The core objective of Run'em's is to minimize the wall-clock time required for running checks, supporting [shift-left](https://en.wikipedia.org/wiki/Shift-left_testing). Overall it is designed to enhance iteration speed and boost developer productivity.
|
44
44
|
|
45
45
|
`runem` is also designed to be easy to learn and simple to use, but `runem` also has many powerful tools for advanced users.
|
46
46
|
|
@@ -173,7 +173,7 @@ Here's a simple setup for a python project.
|
|
173
173
|
type: bool
|
174
174
|
desc: formats docs and comments in whatever job can do so
|
175
175
|
- option:
|
176
|
-
name:
|
176
|
+
name: check-only
|
177
177
|
alias: check
|
178
178
|
default: false
|
179
179
|
type: bool
|
@@ -247,11 +247,11 @@ def _job_py_code_reformat(
|
|
247
247
|
docformatter_extra_args = [
|
248
248
|
"--in-place",
|
249
249
|
]
|
250
|
-
if
|
250
|
+
if options["check-only"]:
|
251
251
|
extra_args.append("--check")
|
252
252
|
docformatter_extra_args = [] # --inplace is not compatible with --check
|
253
253
|
|
254
|
-
if
|
254
|
+
if options["black"]:
|
255
255
|
black_cmd = [
|
256
256
|
"python3",
|
257
257
|
"-m",
|
@@ -262,7 +262,7 @@ def _job_py_code_reformat(
|
|
262
262
|
kwargs["label"] = f"{label} black"
|
263
263
|
run_command(cmd=black_cmd, **kwargs)
|
264
264
|
|
265
|
-
if
|
265
|
+
if options["docformatter"]:
|
266
266
|
docformatter_cmd = [
|
267
267
|
"python3",
|
268
268
|
"-m",
|
@@ -279,7 +279,7 @@ def _job_py_code_reformat(
|
|
279
279
|
0, # no work/change required
|
280
280
|
3, # no errors, but code was reformatted
|
281
281
|
)
|
282
|
-
if
|
282
|
+
if options["check-only"]:
|
283
283
|
# in check it is ONLY ok if no work/change was required
|
284
284
|
allowed_exits = (0,)
|
285
285
|
kwargs["label"] = f"{label} docformatter"
|
@@ -469,8 +469,8 @@ usage: runem.py [-h] [--jobs JOBS [JOBS ...]] [--not-jobs JOBS_EXCLUDED [JOBS_EX
|
|
469
469
|
[--not-phases PHASES_EXCLUDED [PHASES_EXCLUDED ...]] [--tags TAGS [TAGS ...]] [--not-tags TAGS_EXCLUDED [TAGS_EXCLUDED ...]]
|
470
470
|
[--black] [--no-black] [--check-only] [--no-check-only] [--coverage] [--no-coverage] [--docformatter] [--no-docformatter]
|
471
471
|
[--generate-call-graphs] [--no-generate-call-graphs] [--install-deps] [--no-install-deps] [--isort] [--no-isort] [--profile]
|
472
|
-
[--no-profile] [--
|
473
|
-
[--
|
472
|
+
[--no-profile] [--unit-test] [--no-unit-test]
|
473
|
+
[--call-graphs | --no-call-graphs]
|
474
474
|
[--procs PROCS] [--root ROOT_DIR] [--verbose | --no-verbose | -v]
|
475
475
|
|
476
476
|
Runs the Lursight Lang test-suite
|
@@ -524,18 +524,8 @@ job-param overrides:
|
|
524
524
|
--no-isort turn off allow/disallows isort from running on python files
|
525
525
|
--profile generate profile information in jobs that can
|
526
526
|
--no-profile turn off generate profile information in jobs that can
|
527
|
-
--update-snapshots update snapshots in jobs that can update data snapshots
|
528
|
-
--no-update-snapshots
|
529
|
-
turn off update snapshots in jobs that can update data snapshots
|
530
527
|
--unit-test run unit tests
|
531
528
|
--no-unit-test turn off run unit tests
|
532
|
-
--unit-test-firebase-data
|
533
|
-
run unit tests for the firebase function's data
|
534
|
-
--no-unit-test-firebase-data
|
535
|
-
turn off run unit tests for the firebase function's data
|
536
|
-
--unit-test-python run unit tests for the python code
|
537
|
-
--no-unit-test-python
|
538
|
-
turn off run unit tests for the python code
|
539
529
|
```
|
540
530
|
</details>
|
541
531
|
|
@@ -0,0 +1,33 @@
|
|
1
|
+
runem/VERSION,sha256=ygwViIed-jHcHrW47R-z5Om5lbqAJc3R4PPjymEoZCc,7
|
2
|
+
runem/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
+
runem/__main__.py,sha256=dsOiVZegpfK9JOs5n7UmbX5iwwbj7iFkEbLoVeEgAn4,136
|
4
|
+
runem/base.py,sha256=EZfR7FIlwEdU9Vfe47Wk2DOO8GQqpKxxLNKp6YHueZ4,316
|
5
|
+
runem/blocking_print.py,sha256=S9dtgAeuTzc2-ht-vk9Wl6l-0PwS2tYbHDHDQQitrlA,841
|
6
|
+
runem/cli.py,sha256=wEt_Jnumhl8SiOdKdSJzLkJpWv6n3_Odhi_HeIixr1k,134
|
7
|
+
runem/command_line.py,sha256=k8yOlwfWliiJX3m33tkVzuGVQ2i-tuAgOENMWmP2u7Y,10999
|
8
|
+
runem/config.py,sha256=y-e6j84FDiLSKKw9ShDzRlnS5t2e81MW8fKSKtxtJtg,5935
|
9
|
+
runem/config_metadata.py,sha256=Vy7dx8F-Z5jEp16OP2y6vHHoGkyhoCaTG4KIVkMWR7M,3232
|
10
|
+
runem/config_parse.py,sha256=6mCamzWu7HTotmqFJmLZg9FFE6qe1-rpmo8_v5ESPW8,13401
|
11
|
+
runem/files.py,sha256=KEL4cdHRJrdK6I_jdy2wGZv5abPvgBPS1aAlmxKxPgc,3377
|
12
|
+
runem/hook_manager.py,sha256=9T-4omyjBPZ6ua_37UWpT1dwNMbb4SKwvxYcN6fVxLE,4163
|
13
|
+
runem/informative_dict.py,sha256=U7p9z78UwOT4TAfng1iDXCEyeYz6C-XZlx9Z1pWNVrI,1548
|
14
|
+
runem/job.py,sha256=QVXvzz67fJk__-h0womFQsB80-w41E3XRcHpxmRnv3o,2912
|
15
|
+
runem/job_execute.py,sha256=xmH-O0qnsS2P_s3NCpXmla_kjsGgGCy0QdFH4pbY8iI,4000
|
16
|
+
runem/job_filter.py,sha256=fuxyKCHpTB4HlT_QagBk-IhhmWMlOr9Y9s5voP4yzYU,5370
|
17
|
+
runem/job_runner_simple_command.py,sha256=jxBukPm9bTLNhfQCkqNG5VepvB2ysmWAZwhBPHoTA6o,1091
|
18
|
+
runem/job_wrapper.py,sha256=wwPeWkMqhORl_Po6V-ofYZ-v9Ho0cFMprLRpY-30DyQ,964
|
19
|
+
runem/job_wrapper_python.py,sha256=m5xbWQxkDRtawjCcgxctzouv_Pny6bKiG2OPVE1hlgo,4226
|
20
|
+
runem/log.py,sha256=dIrocigvIJs1ZGkAzTogXkAK-0ZW3q5FkjpDgLdeW-E,630
|
21
|
+
runem/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
|
+
runem/report.py,sha256=IBCtMgGwnvVbEEqDWbYBGUZmTIzBLnpXqYSK5uu3vgk,8987
|
23
|
+
runem/run_command.py,sha256=Egl_j4bJ9mwi2JEFCsl0W6WH2IRgIdpMN7qdj8voClQ,6386
|
24
|
+
runem/runem.py,sha256=RIKF-l_ziGs0oKEueVkfygmnc_xiIdQo2qNDpiA-2Zs,13013
|
25
|
+
runem/runem_version.py,sha256=MbETwZO2Tb1Y3hX_OYZjKepEMKA1cjNvr-7Cqhz6e3s,271
|
26
|
+
runem/types.py,sha256=TLagRdB6-4gKqETAeJzo7-HFwBqQWGTwHcw2slSKN0U,7445
|
27
|
+
runem/utils.py,sha256=3N_kel9LsriiMq7kOjT14XhfxUOgz4hdDg97wlLKm3U,221
|
28
|
+
runem-0.0.31.dist-info/LICENSE,sha256=awOCsWJ58m_2kBQwBUGWejVqZm6wuRtCL2hi9rfa0X4,1211
|
29
|
+
runem-0.0.31.dist-info/METADATA,sha256=PtDmfylhA038JOFt9wKtxrzYjAXhnRGukpxj-BSfxsQ,29789
|
30
|
+
runem-0.0.31.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
31
|
+
runem-0.0.31.dist-info/entry_points.txt,sha256=nu0g_vBeuPihYtimbtlNusxWovylMppvJ8UxdJlJfvM,46
|
32
|
+
runem-0.0.31.dist-info/top_level.txt,sha256=gK6iqh9OfHDDpErioCC9ul_zx2Q5zWTALtcuGU7Vil4,6
|
33
|
+
runem-0.0.31.dist-info/RECORD,,
|
runem-0.0.29.dist-info/RECORD
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
runem/VERSION,sha256=jph1-M7GbnVztMqqYOGloa6ZJHFW9vEnWp0NTfilvfk,7
|
2
|
-
runem/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
runem/__main__.py,sha256=dsOiVZegpfK9JOs5n7UmbX5iwwbj7iFkEbLoVeEgAn4,136
|
4
|
-
runem/base.py,sha256=EZfR7FIlwEdU9Vfe47Wk2DOO8GQqpKxxLNKp6YHueZ4,316
|
5
|
-
runem/blocking_print.py,sha256=S9dtgAeuTzc2-ht-vk9Wl6l-0PwS2tYbHDHDQQitrlA,841
|
6
|
-
runem/cli.py,sha256=LTkxwALR67TM8GlkwrfISoYxcBZ848d9Mp75lQtDTAE,133
|
7
|
-
runem/command_line.py,sha256=gRiT_fdRt4_xh_kFVoEY9GyTCcg-LmoKSs4y7HVtHqY,10379
|
8
|
-
runem/config.py,sha256=dBQks5ERVTwdxw0PlOm0ioDrsxfgTCfGlBTuE2RFtn8,3866
|
9
|
-
runem/config_metadata.py,sha256=FaMLZOUNKpg77yowyAKSDH9rmKbZfIwAmkDVbZMX4xU,2925
|
10
|
-
runem/config_parse.py,sha256=B_hQPYSMIxzy5XUVWFuQ--0WZnCuDqgP3bQUYHwKc1A,8389
|
11
|
-
runem/files.py,sha256=vAI17m-Y1tRGot6_vDpTuBTkKm8xdByGoh7HCfNkMFU,1900
|
12
|
-
runem/informative_dict.py,sha256=U7p9z78UwOT4TAfng1iDXCEyeYz6C-XZlx9Z1pWNVrI,1548
|
13
|
-
runem/job.py,sha256=QVXvzz67fJk__-h0womFQsB80-w41E3XRcHpxmRnv3o,2912
|
14
|
-
runem/job_execute.py,sha256=FLZ6KCcsI2mywBW-qMqrdEUhHURADxvUBXuOxJVSkss,4217
|
15
|
-
runem/job_filter.py,sha256=-qinE3cmFsk6Q9N2Hxp_vm0olIzvRgrWczmvegcd7yc,5352
|
16
|
-
runem/job_runner_simple_command.py,sha256=H4LuAgzLAiy_T2juRO0qL7ULH9OpWhcXmeuAALi8JaI,836
|
17
|
-
runem/job_wrapper.py,sha256=c2im3YTBmrNlULbQs9kKWlIy45B6PRuogDZcfitmX7A,752
|
18
|
-
runem/job_wrapper_python.py,sha256=sjKRUTnjiAR0JKmdzoKBPM5YHIjv2q86IUUyJmV7f0s,4263
|
19
|
-
runem/log.py,sha256=YddguLhhLrdbEuHxJlolNdIg_LMTEN09nqiqEWWjDzU,517
|
20
|
-
runem/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
|
-
runem/report.py,sha256=2JD6b515FF-t040V2C6eKOp1PIS0w8AEWmpA-5WwSao,8758
|
22
|
-
runem/run_command.py,sha256=Egl_j4bJ9mwi2JEFCsl0W6WH2IRgIdpMN7qdj8voClQ,6386
|
23
|
-
runem/runem.py,sha256=Et3Jfg_qO5BBet43FI3LmmP2opuIZBKsraQJnAktPps,12443
|
24
|
-
runem/runem_version.py,sha256=MbETwZO2Tb1Y3hX_OYZjKepEMKA1cjNvr-7Cqhz6e3s,271
|
25
|
-
runem/types.py,sha256=recvwKLWY4KB043jyGGdFU812O45d9KkN5yF8sZX2ug,6368
|
26
|
-
runem/utils.py,sha256=3N_kel9LsriiMq7kOjT14XhfxUOgz4hdDg97wlLKm3U,221
|
27
|
-
runem-0.0.29.dist-info/LICENSE,sha256=awOCsWJ58m_2kBQwBUGWejVqZm6wuRtCL2hi9rfa0X4,1211
|
28
|
-
runem-0.0.29.dist-info/METADATA,sha256=ftCbQO7zAiHhPhkpZuB9UBYmWi68u_sw59gkZ_DVwcE,30581
|
29
|
-
runem-0.0.29.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
30
|
-
runem-0.0.29.dist-info/entry_points.txt,sha256=nu0g_vBeuPihYtimbtlNusxWovylMppvJ8UxdJlJfvM,46
|
31
|
-
runem-0.0.29.dist-info/top_level.txt,sha256=gK6iqh9OfHDDpErioCC9ul_zx2Q5zWTALtcuGU7Vil4,6
|
32
|
-
runem-0.0.29.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|