runem 0.0.10__tar.gz → 0.0.11__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.
- {runem-0.0.10 → runem-0.0.11}/HISTORY.md +14 -0
- {runem-0.0.10 → runem-0.0.11}/PKG-INFO +15 -15
- {runem-0.0.10 → runem-0.0.11}/README.md +14 -14
- runem-0.0.11/runem/VERSION +1 -0
- {runem-0.0.10 → runem-0.0.11}/runem/runem.py +1 -0
- {runem-0.0.10 → runem-0.0.11}/runem.egg-info/PKG-INFO +15 -15
- runem-0.0.10/runem/VERSION +0 -1
- {runem-0.0.10 → runem-0.0.11}/Containerfile +0 -0
- {runem-0.0.10 → runem-0.0.11}/LICENSE +0 -0
- {runem-0.0.10 → runem-0.0.11}/MANIFEST.in +0 -0
- {runem-0.0.10 → runem-0.0.11}/runem/__init__.py +0 -0
- {runem-0.0.10 → runem-0.0.11}/runem/__main__.py +0 -0
- {runem-0.0.10 → runem-0.0.11}/runem/base.py +0 -0
- {runem-0.0.10 → runem-0.0.11}/runem/cli.py +0 -0
- {runem-0.0.10 → runem-0.0.11}/runem/py.typed +0 -0
- {runem-0.0.10 → runem-0.0.11}/runem/run_command.py +0 -0
- {runem-0.0.10 → runem-0.0.11}/runem.egg-info/SOURCES.txt +0 -0
- {runem-0.0.10 → runem-0.0.11}/runem.egg-info/dependency_links.txt +0 -0
- {runem-0.0.10 → runem-0.0.11}/runem.egg-info/entry_points.txt +0 -0
- {runem-0.0.10 → runem-0.0.11}/runem.egg-info/requires.txt +0 -0
- {runem-0.0.10 → runem-0.0.11}/runem.egg-info/top_level.txt +0 -0
- {runem-0.0.10 → runem-0.0.11}/scripts/__init__.py +0 -0
- {runem-0.0.10 → runem-0.0.11}/setup.cfg +0 -0
- {runem-0.0.10 → runem-0.0.11}/setup.py +0 -0
- {runem-0.0.10 → runem-0.0.11}/tests/__init__.py +0 -0
- {runem-0.0.10 → runem-0.0.11}/tests/conftest.py +0 -0
- {runem-0.0.10 → runem-0.0.11}/tests/test_base.py +0 -0
@@ -4,6 +4,20 @@ Changelog
|
|
4
4
|
|
5
5
|
(unreleased)
|
6
6
|
------------
|
7
|
+
- Merge branch 'fix/warning_when_no_files_for_job' [Frank Harrison]
|
8
|
+
- Fix(warn-no-files): starts troubleshooting. [Frank Harrison]
|
9
|
+
- Fix(warn-no-files): updates README after deleting defunct jobs. [Frank
|
10
|
+
Harrison]
|
11
|
+
- Fix(warn-no-files): removes defunct job-specs. [Frank Harrison]
|
12
|
+
- Fix(warn-no-files): ads more information when a job isn't run because
|
13
|
+
of files. [Frank Harrison]
|
14
|
+
|
15
|
+
TBH this shows a problem in the spec method
|
16
|
+
|
17
|
+
|
18
|
+
0.0.10 (2023-11-29)
|
19
|
+
-------------------
|
20
|
+
- Release: version 0.0.10 🚀 [Frank Harrison]
|
7
21
|
- Merge branch 'docs/update_readme' [Frank Harrison]
|
8
22
|
- Docs: make readme more readable. [Frank Harrison]
|
9
23
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: runem
|
3
|
-
Version: 0.0.
|
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]
|
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 '['
|
186
|
-
|
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: '['
|
190
|
-
'
|
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
|
196
|
-
'{'
|
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-
|
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 '['
|
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 '['
|
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
|
@@ -60,6 +60,8 @@ Jobs are tagged in the .runem.yml config file. Each unique tags is made availabl
|
|
60
60
|
|
61
61
|
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.
|
62
62
|
|
63
|
+
To debug why a job is not selected pass `--verbose`.
|
64
|
+
|
63
65
|
For example, if you have a `python` tagged job or jobs, to run only run those jobs you would do the following:
|
64
66
|
|
65
67
|
```bash
|
@@ -136,8 +138,8 @@ usage: runem.py [-h] [--jobs JOBS [JOBS ...]] [--not-jobs JOBS_EXCLUDED [JOBS_EX
|
|
136
138
|
[--black] [--no-black] [--check-only] [--no-check-only] [--coverage] [--no-coverage] [--docformatter] [--no-docformatter]
|
137
139
|
[--generate-call-graphs] [--no-generate-call-graphs] [--install-deps] [--no-install-deps] [--isort] [--no-isort] [--profile]
|
138
140
|
[--no-profile] [--update-snapshots] [--no-update-snapshots] [--unit-test] [--no-unit-test] [--unit-test-firebase-data]
|
139
|
-
[--no-unit-test-firebase-data] [--unit-test-python] [--no-unit-test-python] [--call-graphs | --no-call-graphs]
|
140
|
-
[--root ROOT_DIR] [--verbose | --no-verbose | -v]
|
141
|
+
[--no-unit-test-firebase-data] [--unit-test-python] [--no-unit-test-python] [--call-graphs | --no-call-graphs]
|
142
|
+
[--procs PROCS] [--root ROOT_DIR] [--verbose | --no-verbose | -v]
|
141
143
|
|
142
144
|
Runs the Lursight Lang test-suite
|
143
145
|
|
@@ -151,27 +153,25 @@ options:
|
|
151
153
|
|
152
154
|
jobs:
|
153
155
|
--jobs JOBS [JOBS ...]
|
154
|
-
List of job-names to run the given jobs. Other filters will modify this list. Defaults to '['
|
155
|
-
|
156
|
-
'pretty app', 'pretty fb_funcs', 'pylint py', 'reformat py', 'typescript app', 'typescript fb_funcs']'
|
156
|
+
List of job-names to run the given jobs. Other filters will modify this list. Defaults to '['flake8 py', 'install
|
157
|
+
python requirements', 'json validate', 'mypy py', 'pylint py', 'reformat py', 'spell check']'
|
157
158
|
--not-jobs JOBS_EXCLUDED [JOBS_EXCLUDED ...]
|
158
|
-
List of job-names to NOT run. Defaults to empty. Available options are: '['
|
159
|
-
'
|
160
|
-
'pretty fb_funcs', 'pylint py', 'reformat py', 'typescript app', 'typescript fb_funcs']'
|
159
|
+
List of job-names to NOT run. Defaults to empty. Available options are: '['flake8 py', 'install python requirements',
|
160
|
+
'json validate', 'mypy py', 'pylint py', 'reformat py', 'spell check']'
|
161
161
|
|
162
162
|
phases:
|
163
163
|
--phases PHASES [PHASES ...]
|
164
|
-
Run only the phases passed in, and can be used to change the phase order. Phases are run in the order given. Defaults
|
165
|
-
'{'
|
164
|
+
Run only the phases passed in, and can be used to change the phase order. Phases are run in the order given. Defaults
|
165
|
+
to '{'edit', 'pre-run', 'analysis'}'.
|
166
166
|
--not-phases PHASES_EXCLUDED [PHASES_EXCLUDED ...]
|
167
|
-
List of phases to NOT run. This option does not change the phase run order. Options are '['analysis', 'edit', 'pre-
|
167
|
+
List of phases to NOT run. This option does not change the phase run order. Options are '['analysis', 'edit', 'pre-
|
168
|
+
run']'.
|
168
169
|
|
169
170
|
tags:
|
170
171
|
--tags TAGS [TAGS ...]
|
171
|
-
Only jobs with the given tags. Defaults to '['
|
172
|
+
Only jobs with the given tags. Defaults to '['json', 'lint', 'py', 'spell', 'type']'.
|
172
173
|
--not-tags TAGS_EXCLUDED [TAGS_EXCLUDED ...]
|
173
|
-
Removes one or more tags from the list of job tags to be run. Options are '['
|
174
|
-
'type']'.
|
174
|
+
Removes one or more tags from the list of job tags to be run. Options are '['json', 'lint', 'py', 'spell', 'type']'.
|
175
175
|
|
176
176
|
job-param overrides:
|
177
177
|
--black allow/disallows py-black from running
|
@@ -0,0 +1 @@
|
|
1
|
+
0.0.11
|
@@ -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.
|
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]
|
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 '['
|
186
|
-
|
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: '['
|
190
|
-
'
|
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
|
196
|
-
'{'
|
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-
|
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 '['
|
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 '['
|
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
|
runem-0.0.10/runem/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.0.10
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|