From 3e3932d5a670a767c9a3f73d2b5d9351f8559c55 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 17 Jul 2017 17:39:55 -0700 Subject: [PATCH] Upgrade add-trailing-comma to 0.5.1 --- .pre-commit-config.yaml | 2 +- tests/clientlib_test.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4bca47fe..3f1de932 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,6 +22,6 @@ - id: reorder-python-imports language_version: python2.7 - repo: https://github.com/asottile/add-trailing-comma - sha: v0.4.0 + sha: v0.5.1 hooks: - id: add-trailing-comma diff --git a/tests/clientlib_test.py b/tests/clientlib_test.py index 1fe1d80b..6c04648c 100644 --- a/tests/clientlib_test.py +++ b/tests/clientlib_test.py @@ -146,7 +146,7 @@ def test_config_with_local_hooks_definition_fails(config_obj): 'language': 'script', 'files': '', 'args': ['hello', 'world'], - }] + }], }], ), ) @@ -185,7 +185,7 @@ def test_validate_manifest_main(args, expected_output): 'name': 'b', 'entry': 'c', 'language': 'python', - 'files': r'\.py$' + 'files': r'\.py$', }], True, ),