Skip to content

Commit 95b5e45

Browse files
committed
chore: reorder scopes arg
so --force-scope and --scopes list next to each other
1 parent 22d377a commit 95b5e45

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

conventional_pre_commit/hook.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ def main(argv=[]):
2323
parser.add_argument(
2424
"--force-scope", action="store_false", default=True, dest="optional_scope", help="Force commit to have scope defined."
2525
)
26-
parser.add_argument(
27-
"--strict",
28-
action="store_true",
29-
help="Force commit to strictly follow Conventional Commits formatting. Disallows fixup! style commits.",
30-
)
3126
parser.add_argument(
3227
"--scopes",
3328
type=str,
3429
default=None,
3530
help="Optional list of scopes to support. Scopes should be separated by commas with no spaces (e.g. api,client)",
3631
)
32+
parser.add_argument(
33+
"--strict",
34+
action="store_true",
35+
help="Force commit to strictly follow Conventional Commits formatting. Disallows fixup! style commits.",
36+
)
3737

3838
if len(argv) < 1:
3939
argv = sys.argv[1:]

0 commit comments

Comments
 (0)