From a9a61f975d2683fb215bb90159dc44da2dcd1f45 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Nov 2020 16:36:20 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ae73842..0e7c666 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,18 +35,18 @@ repos: - id: bind-requirements - repo: https://github.com/domdfcoding/flake8-dunder-all - rev: v0.1.0 + rev: v0.1.3 hooks: - id: ensure-dunder-all files: ^coverage_pyver_pragma/.*\.py$ - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.5.1 + rev: v1.7.0 hooks: - id: python-no-eval - repo: https://github.com/asottile/pyupgrade - rev: v2.7.3 + rev: v2.7.4 hooks: - id: pyupgrade args: From eece76057cfa63b6fa842e5c06cbc49b166bf2c0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Nov 2020 16:37:58 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_regex.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_regex.py b/tests/test_regex.py index 2e1c778..dd51012 100644 --- a/tests/test_regex.py +++ b/tests/test_regex.py @@ -21,7 +21,7 @@ def test_not_version_regex(): for pragma_string in ["pragma", "PRAGMA"]: for post_pragma_space in ['', ':', ": ", ":\t", " "]: for no_string in ["no", "NO"]: - for post_no_space in ['', ' ', "\t", " "]: + for post_no_space in ['', ' ', '\t', " "]: for cover_string in ["cover", "COVER"]: for post_cover_space in [' ']: # ['', ' ', "\t", " "]: # TODO: This regex is picky about the space here @@ -41,7 +41,7 @@ def test_not_version_regex(): for pragma_string in ["pragma", "PRAGMA"]: for post_pragma_space in ['', ':', ": ", ":\t", " "]: for no_string in ["no", "NO"]: - for post_no_space in ['', ' ', "\t", " "]: + for post_no_space in ['', ' ', '\t', " "]: for cover_string in ["cover", "COVER"]: for post_cover_space in [' ']: # ['', ' ', "\t", " "]: # TODO: This regex is picky about the space here @@ -60,7 +60,7 @@ def test_not_version_regex(): for pragma_string in ["pragma", "PRAGMA"]: for post_pragma_space in ['', ':', ": ", ":\t", " "]: for no_string in ["no", "NO"]: - for post_no_space in ['', ' ', "\t", " "]: + for post_no_space in ['', ' ', '\t', " "]: for cover_string in ["cover", "COVER"]: for post_cover_space in ['']: for post_cover_text in ['']: