bitwarden_workflow_linter 0.15.3__py3-none-any.whl → 1.1.0__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.
- bitwarden_workflow_linter/__about__.py +1 -1
- bitwarden_workflow_linter/cli.py +3 -2
- bitwarden_workflow_linter/default_settings.yaml +1 -1
- bitwarden_workflow_linter/lint.py +1 -1
- {bitwarden_workflow_linter-0.15.3.dist-info → bitwarden_workflow_linter-1.1.0.dist-info}/METADATA +1 -1
- {bitwarden_workflow_linter-0.15.3.dist-info → bitwarden_workflow_linter-1.1.0.dist-info}/RECORD +9 -9
- {bitwarden_workflow_linter-0.15.3.dist-info → bitwarden_workflow_linter-1.1.0.dist-info}/WHEEL +0 -0
- {bitwarden_workflow_linter-0.15.3.dist-info → bitwarden_workflow_linter-1.1.0.dist-info}/entry_points.txt +0 -0
- {bitwarden_workflow_linter-0.15.3.dist-info → bitwarden_workflow_linter-1.1.0.dist-info}/licenses/LICENSE.txt +0 -0
bitwarden_workflow_linter/cli.py
CHANGED
@@ -36,9 +36,10 @@ def main(input_args: Optional[List[str]] = None) -> int:
|
|
36
36
|
raise SystemExit(parser.print_help())
|
37
37
|
|
38
38
|
args = parser.parse_args(input_args)
|
39
|
-
|
39
|
+
if len(args.files) > 1:
|
40
|
+
raise parser.error("Only one -f / --files flag must be specified")
|
40
41
|
if args.command == "lint":
|
41
|
-
return linter_cmd.run(args.files, args.strict)
|
42
|
+
return linter_cmd.run(args.files[0], args.strict)
|
42
43
|
|
43
44
|
if args.command == "actions":
|
44
45
|
print(f"{'-'*50}\n!!bwwl actions is in BETA!!\n{'-'*50}")
|
@@ -14,7 +14,7 @@ enabled_rules:
|
|
14
14
|
- id: bitwarden_workflow_linter.rules.underscore_outputs.RuleUnderscoreOutputs
|
15
15
|
level: warning
|
16
16
|
- id: bitwarden_workflow_linter.rules.run_actionlint.RunActionlint
|
17
|
-
level:
|
17
|
+
level: error
|
18
18
|
- id: bitwarden_workflow_linter.rules.check_pr_target.RuleCheckPrTarget
|
19
19
|
level: error
|
20
20
|
- id: bitwarden_workflow_linter.rules.permissions_exist.RulePermissionsExist
|
@@ -51,7 +51,7 @@ class LinterCmd:
|
|
51
51
|
action="store_true",
|
52
52
|
help="return non-zero exit code on warnings as well as errors",
|
53
53
|
)
|
54
|
-
parser_lint.add_argument("-f", "--files", action="append", help="files to lint")
|
54
|
+
parser_lint.add_argument("-f", "--files", nargs="+", action="append", required=True, help="files to lint")
|
55
55
|
parser_lint.add_argument(
|
56
56
|
"-o",
|
57
57
|
"--output",
|
{bitwarden_workflow_linter-0.15.3.dist-info → bitwarden_workflow_linter-1.1.0.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bitwarden_workflow_linter
|
3
|
-
Version:
|
3
|
+
Version: 1.1.0
|
4
4
|
Summary: Custom GitHub Action Workflow Linter
|
5
5
|
Project-URL: Homepage, https://github.com/bitwarden/workflow-linter
|
6
6
|
Project-URL: Issues, https://github.com/bitwarden/workflow-linter/issues
|
{bitwarden_workflow_linter-0.15.3.dist-info → bitwarden_workflow_linter-1.1.0.dist-info}/RECORD
RENAMED
@@ -1,11 +1,11 @@
|
|
1
|
-
bitwarden_workflow_linter/__about__.py,sha256=
|
1
|
+
bitwarden_workflow_linter/__about__.py,sha256=B3TIlMDfnEWKL_5WJ2OFVvIjP7WhxmnwAuQR9-Q0FM8,59
|
2
2
|
bitwarden_workflow_linter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
bitwarden_workflow_linter/actionlint_version.yaml,sha256=CKhiDwaDBNCExOHTlcpiavfEgf01uG_tTPrgLRaj6_k,28
|
4
4
|
bitwarden_workflow_linter/actions.py,sha256=LAn3yQeMMmCOvJWeTn3dE1U2nyEJqIBMwESq3TtY9hE,9069
|
5
|
-
bitwarden_workflow_linter/cli.py,sha256=
|
5
|
+
bitwarden_workflow_linter/cli.py,sha256=7yRNydUt4ITGpT9xyZ81FzR0IsoL7t16rEJyWwwXx3I,1802
|
6
6
|
bitwarden_workflow_linter/default_actions.json,sha256=oy0NH8av31LVGdr6GKqPad-2fa3BLDOSI1o8aNtdvuI,13800
|
7
|
-
bitwarden_workflow_linter/default_settings.yaml,sha256=
|
8
|
-
bitwarden_workflow_linter/lint.py,sha256=
|
7
|
+
bitwarden_workflow_linter/default_settings.yaml,sha256=xwmeT57cDrnW34YzN2rtQOH3LMKSIEQ_GP5KHng6aG4,1061
|
8
|
+
bitwarden_workflow_linter/lint.py,sha256=ei66eVupfIgNj_-68CSwLfstOe66noEYNmAV2kzn8NA,6348
|
9
9
|
bitwarden_workflow_linter/load.py,sha256=FWxotIlB0vyKzrVw87sOx3qdRiJG_0hVHRbbLXZY4Sc,5553
|
10
10
|
bitwarden_workflow_linter/rule.py,sha256=Qb60JiUDAWN3ayrMGoSbbDCSFmw-ql8djzAkxISaob4,3250
|
11
11
|
bitwarden_workflow_linter/utils.py,sha256=KV2Vo-hhNVRWOiIq_y-55li-noMt9F-FFgkJK-nUKJo,5823
|
@@ -24,8 +24,8 @@ bitwarden_workflow_linter/rules/run_actionlint.py,sha256=m6SaejtkUz704exAiq_ti0d
|
|
24
24
|
bitwarden_workflow_linter/rules/step_approved.py,sha256=4pUCrOlWomo43bwGBunORphv1RJzc3spRKgZ4VLtDS0,3304
|
25
25
|
bitwarden_workflow_linter/rules/step_pinned.py,sha256=MagV8LNdgRKyncmSdH9V-TlIcsdjzoDHDWqovzWon9E,3559
|
26
26
|
bitwarden_workflow_linter/rules/underscore_outputs.py,sha256=LoCsDN_EfQ8H9n5BfZ5xCe7BeHqJGPMcV0vo1c9YJcw,4275
|
27
|
-
bitwarden_workflow_linter-
|
28
|
-
bitwarden_workflow_linter-
|
29
|
-
bitwarden_workflow_linter-
|
30
|
-
bitwarden_workflow_linter-
|
31
|
-
bitwarden_workflow_linter-
|
27
|
+
bitwarden_workflow_linter-1.1.0.dist-info/METADATA,sha256=LD_ygph7HBkO3NtAIPxOiPXsDyfYeRbtPVSg9JvL06Y,10156
|
28
|
+
bitwarden_workflow_linter-1.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
29
|
+
bitwarden_workflow_linter-1.1.0.dist-info/entry_points.txt,sha256=SA_yF9CwL4VMUvdcmCd7k9rjsQNzfeOUBuDnMnaO8QQ,60
|
30
|
+
bitwarden_workflow_linter-1.1.0.dist-info/licenses/LICENSE.txt,sha256=uY-7N9tbI7xc_c0WeTIGpacSCnsB91N05eCIg3bkaRw,35140
|
31
|
+
bitwarden_workflow_linter-1.1.0.dist-info/RECORD,,
|
{bitwarden_workflow_linter-0.15.3.dist-info → bitwarden_workflow_linter-1.1.0.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|