runem 0.0.10__py3-none-any.whl → 0.0.11__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/runem.py CHANGED
@@ -615,6 +615,7 @@ def _run_job(
615
615
 
616
616
  if not file_list:
617
617
  # no files to work on
618
+ print(f"WARNING: skipping job '{label}', no files for job")
618
619
  return (f"{label}: no files!", timedelta(0))
619
620
  if job_config["ctx"]["cwd"]:
620
621
  os.chdir(root_path / job_config["ctx"]["cwd"])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: runem
3
- Version: 0.0.10
3
+ Version: 0.0.11
4
4
  Summary: Awesome runem created by lursight
5
5
  Home-page: https://github.com/lursight/runem/
6
6
  Author: lursight
@@ -91,6 +91,8 @@ Jobs are tagged in the .runem.yml config file. Each unique tags is made availabl
91
91
 
92
92
  You can control which types of jobs to run via tags. Just tag the job in the config and then from the command-line you can add `--tags` or `--not-tags` to refine exactly which jobs will be run.
93
93
 
94
+ To debug why a job is not selected pass `--verbose`.
95
+
94
96
  For example, if you have a `python` tagged job or jobs, to run only run those jobs you would do the following:
95
97
 
96
98
  ```bash
@@ -167,8 +169,8 @@ usage: runem.py [-h] [--jobs JOBS [JOBS ...]] [--not-jobs JOBS_EXCLUDED [JOBS_EX
167
169
  [--black] [--no-black] [--check-only] [--no-check-only] [--coverage] [--no-coverage] [--docformatter] [--no-docformatter]
168
170
  [--generate-call-graphs] [--no-generate-call-graphs] [--install-deps] [--no-install-deps] [--isort] [--no-isort] [--profile]
169
171
  [--no-profile] [--update-snapshots] [--no-update-snapshots] [--unit-test] [--no-unit-test] [--unit-test-firebase-data]
170
- [--no-unit-test-firebase-data] [--unit-test-python] [--no-unit-test-python] [--call-graphs | --no-call-graphs] [--procs PROCS]
171
- [--root ROOT_DIR] [--verbose | --no-verbose | -v]
172
+ [--no-unit-test-firebase-data] [--unit-test-python] [--no-unit-test-python] [--call-graphs | --no-call-graphs]
173
+ [--procs PROCS] [--root ROOT_DIR] [--verbose | --no-verbose | -v]
172
174
 
173
175
  Runs the Lursight Lang test-suite
174
176
 
@@ -182,27 +184,25 @@ options:
182
184
 
183
185
  jobs:
184
186
  --jobs JOBS [JOBS ...]
185
- List of job-names to run the given jobs. Other filters will modify this list. Defaults to '['cspell app', 'eslint app',
186
- 'eslint fb_funcs', 'flake8 py', 'install python requirements', 'jest app', 'jest fb_funcs', 'json validate', 'mypy py',
187
- 'pretty app', 'pretty fb_funcs', 'pylint py', 'reformat py', 'typescript app', 'typescript fb_funcs']'
187
+ List of job-names to run the given jobs. Other filters will modify this list. Defaults to '['flake8 py', 'install
188
+ python requirements', 'json validate', 'mypy py', 'pylint py', 'reformat py', 'spell check']'
188
189
  --not-jobs JOBS_EXCLUDED [JOBS_EXCLUDED ...]
189
- List of job-names to NOT run. Defaults to empty. Available options are: '['cspell app', 'eslint app', 'eslint fb_funcs',
190
- 'flake8 py', 'install python requirements', 'jest app', 'jest fb_funcs', 'json validate', 'mypy py', 'pretty app',
191
- 'pretty fb_funcs', 'pylint py', 'reformat py', 'typescript app', 'typescript fb_funcs']'
190
+ List of job-names to NOT run. Defaults to empty. Available options are: '['flake8 py', 'install python requirements',
191
+ 'json validate', 'mypy py', 'pylint py', 'reformat py', 'spell check']'
192
192
 
193
193
  phases:
194
194
  --phases PHASES [PHASES ...]
195
- Run only the phases passed in, and can be used to change the phase order. Phases are run in the order given. Defaults to
196
- '{'analysis', 'edit', 'pre-run'}'.
195
+ Run only the phases passed in, and can be used to change the phase order. Phases are run in the order given. Defaults
196
+ to '{'edit', 'pre-run', 'analysis'}'.
197
197
  --not-phases PHASES_EXCLUDED [PHASES_EXCLUDED ...]
198
- List of phases to NOT run. This option does not change the phase run order. Options are '['analysis', 'edit', 'pre-run']'.
198
+ List of phases to NOT run. This option does not change the phase run order. Options are '['analysis', 'edit', 'pre-
199
+ run']'.
199
200
 
200
201
  tags:
201
202
  --tags TAGS [TAGS ...]
202
- Only jobs with the given tags. Defaults to '['app', 'data', 'json', 'lint', 'py', 'type']'.
203
+ Only jobs with the given tags. Defaults to '['json', 'lint', 'py', 'spell', 'type']'.
203
204
  --not-tags TAGS_EXCLUDED [TAGS_EXCLUDED ...]
204
- Removes one or more tags from the list of job tags to be run. Options are '['app', 'data', 'json', 'lint', 'py',
205
- 'type']'.
205
+ Removes one or more tags from the list of job tags to be run. Options are '['json', 'lint', 'py', 'spell', 'type']'.
206
206
 
207
207
  job-param overrides:
208
208
  --black allow/disallows py-black from running
@@ -4,11 +4,11 @@ runem/base.py,sha256=EZfR7FIlwEdU9Vfe47Wk2DOO8GQqpKxxLNKp6YHueZ4,316
4
4
  runem/cli.py,sha256=YFwon1P7uSpAYNuJxe2f0wo0HpI3OYTQ-UBWx6xU1iY,145
5
5
  runem/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  runem/run_command.py,sha256=SWFUxCwjkpeFjds9G7spR4Zu_DHDCAGHYPLaH5a5qWs,3671
7
- runem/runem.py,sha256=wmpTzbaVHGpKvg6m3CSxArrQ2pn_EovnGv-dvHGbB2c,34784
7
+ runem/runem.py,sha256=yTmL8fUMh70gLMAYDlFU-KV2lp8kZM9r3Huo8sCeu8E,34852
8
8
  scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- runem-0.0.10.dist-info/LICENSE,sha256=awOCsWJ58m_2kBQwBUGWejVqZm6wuRtCL2hi9rfa0X4,1211
10
- runem-0.0.10.dist-info/METADATA,sha256=CH_Y0U8WN_IBQ5w-nz-uepLGTI683VRr78OviXdao1s,16184
11
- runem-0.0.10.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
12
- runem-0.0.10.dist-info/entry_points.txt,sha256=nu0g_vBeuPihYtimbtlNusxWovylMppvJ8UxdJlJfvM,46
13
- runem-0.0.10.dist-info/top_level.txt,sha256=rd8MZEjuPdjwXuLZlbdZEg8_WGxrY1c8M36uHjNjbNk,14
14
- runem-0.0.10.dist-info/RECORD,,
9
+ runem-0.0.11.dist-info/LICENSE,sha256=awOCsWJ58m_2kBQwBUGWejVqZm6wuRtCL2hi9rfa0X4,1211
10
+ runem-0.0.11.dist-info/METADATA,sha256=r-hsbTKM7Swzuy2_hSCnT86htXew084ZNRmwnkU-7w4,15909
11
+ runem-0.0.11.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
12
+ runem-0.0.11.dist-info/entry_points.txt,sha256=nu0g_vBeuPihYtimbtlNusxWovylMppvJ8UxdJlJfvM,46
13
+ runem-0.0.11.dist-info/top_level.txt,sha256=rd8MZEjuPdjwXuLZlbdZEg8_WGxrY1c8M36uHjNjbNk,14
14
+ runem-0.0.11.dist-info/RECORD,,
File without changes