Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8bb9532

Browse files
authored
Merge pull request #563 from pre-commit/upgrade_add_trailing_comma_more
Upgrade add-trailing-comma to 0.5.1
2 parents 412bb7c + 3e3932d commit 8bb9532

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
- id: reorder-python-imports
2323
language_version: python2.7
2424
- repo: https://github.com/asottile/add-trailing-comma
25-
sha: v0.4.0
25+
sha: v0.5.1
2626
hooks:
2727
- id: add-trailing-comma

tests/clientlib_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def test_config_with_local_hooks_definition_fails(config_obj):
146146
'language': 'script',
147147
'files': '',
148148
'args': ['hello', 'world'],
149-
}]
149+
}],
150150
}],
151151
),
152152
)
@@ -185,7 +185,7 @@ def test_validate_manifest_main(args, expected_output):
185185
'name': 'b',
186186
'entry': 'c',
187187
'language': 'python',
188-
'files': r'\.py$'
188+
'files': r'\.py$',
189189
}],
190190
True,
191191
),

0 commit comments

Comments
 (0)