mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-04 06:19:14 -05:00
Apply defaults to all of the configs. Much fewer .get()s
This commit is contained in:
@@ -27,11 +27,10 @@ def test_additional_manifest_check_raises_for_bad_language():
|
||||
|
||||
|
||||
@pytest.mark.parametrize(('obj'), (
|
||||
[{}],
|
||||
[{'language': 'python'}],
|
||||
[{'language': 'ruby'}],
|
||||
))
|
||||
def test_additional_manifest_check_is_ok_with_missing_language(obj):
|
||||
def test_additional_manifest_check_languages(obj):
|
||||
additional_manifest_check(obj)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user