From af036ec5d5ab9bcc01dec5fb7ad71c82345d6038 Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 27 Feb 2020 22:29:32 +0200 Subject: [PATCH] pre-commit autoupdate --- .pre-commit-config.yaml | 8 ++++---- tests/test_pylast.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9ffb50b..664a22a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v1.26.2 + rev: v2.1.0 hooks: - id: pyupgrade args: ["--py3-plus"] @@ -21,7 +21,7 @@ repos: additional_dependencies: [flake8-2020, flake8-implicit-str-concat] - repo: https://github.com/asottile/seed-isort-config - rev: v1.9.4 + rev: v2.1.0 hooks: - id: seed-isort-config @@ -31,12 +31,12 @@ repos: - id: isort - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.4.4 + rev: v1.5.1 hooks: - id: python-check-blanket-noqa - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.4.0 + rev: v2.5.0 hooks: - id: check-merge-conflict - id: check-yaml diff --git a/tests/test_pylast.py b/tests/test_pylast.py index 75fb379..c5a10b4 100755 --- a/tests/test_pylast.py +++ b/tests/test_pylast.py @@ -19,7 +19,7 @@ def load_secrets(): if os.path.isfile(secrets_file): import yaml # pip install pyyaml - with open(secrets_file, "r") as f: # see example_test_pylast.yaml + with open(secrets_file) as f: # see example_test_pylast.yaml doc = yaml.load(f) else: doc = {}