File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 1818 - id : check-added-large-files
1919
2020 - repo : https://github.com/psf/black-pre-commit-mirror
21- rev : 25.11 .0
21+ rev : 26.1 .0
2222 hooks :
2323 - id : black
2424 types :
3232 - python
3333
3434 - repo : https://github.com/pycqa/bandit
35- rev : 1.9.0
35+ rev : 1.9.3
3636 hooks :
3737 - id : bandit
3838 args : ["-ll"]
Original file line number Diff line number Diff line change @@ -547,12 +547,10 @@ def test_match(conventional_commit):
547547
548548
549549def test_match_multiline (conventional_commit ):
550- match = conventional_commit .match (
551- """test(scope): subject line
550+ match = conventional_commit .match ("""test(scope): subject line
552551
553552body copy
554- """
555- )
553+ """ )
556554 assert isinstance (match , re .Match )
557555 assert match .group ("type" ) == "test"
558556 assert match .group ("scope" ) == "(scope)"
@@ -572,12 +570,10 @@ def test_match_dots(conventional_commit):
572570
573571
574572def test_match_invalid_type (conventional_commit ):
575- match = conventional_commit .match (
576- """invalid(scope): subject line
573+ match = conventional_commit .match ("""invalid(scope): subject line
577574
578575body copy
579- """
580- )
576+ """ )
581577 assert isinstance (match , re .Match )
582578 assert match .group ("type" ) is None
583579 assert match .group ("scope" ) == ""
You can’t perform that action at this time.
0 commit comments