bitwarden_workflow_linter 1.0.0__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.
@@ -1,3 +1,3 @@
1
1
  """Metadata for Workflow Linter."""
2
2
 
3
- __version__ = "1.0.0"
3
+ __version__ = "1.1.0"
@@ -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}")
@@ -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",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitwarden_workflow_linter
3
- Version: 1.0.0
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
@@ -1,11 +1,11 @@
1
- bitwarden_workflow_linter/__about__.py,sha256=nc9EAWgBZxxFh5YVTwqyOwMHHaCkXigtHHQAY7Han8M,59
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=wgkK1MlVbo6Zx3f2CZZ_tkSWq_hdsGciHJA1knX6Yuw,1699
5
+ bitwarden_workflow_linter/cli.py,sha256=7yRNydUt4ITGpT9xyZ81FzR0IsoL7t16rEJyWwwXx3I,1802
6
6
  bitwarden_workflow_linter/default_actions.json,sha256=oy0NH8av31LVGdr6GKqPad-2fa3BLDOSI1o8aNtdvuI,13800
7
7
  bitwarden_workflow_linter/default_settings.yaml,sha256=xwmeT57cDrnW34YzN2rtQOH3LMKSIEQ_GP5KHng6aG4,1061
8
- bitwarden_workflow_linter/lint.py,sha256=R0dXkwir0KzXFHWfWlqpH_CyBwa7O8wHSBTy560u94g,6322
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-1.0.0.dist-info/METADATA,sha256=tgVW7HLVuy9g5fzqBDXtlNkbo0wHV3UhqbFesg9nXaE,10156
28
- bitwarden_workflow_linter-1.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
29
- bitwarden_workflow_linter-1.0.0.dist-info/entry_points.txt,sha256=SA_yF9CwL4VMUvdcmCd7k9rjsQNzfeOUBuDnMnaO8QQ,60
30
- bitwarden_workflow_linter-1.0.0.dist-info/licenses/LICENSE.txt,sha256=uY-7N9tbI7xc_c0WeTIGpacSCnsB91N05eCIg3bkaRw,35140
31
- bitwarden_workflow_linter-1.0.0.dist-info/RECORD,,
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,,