From 599dfa1d0e2bba50078b105b002beb04da5f797e Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 11 May 2020 17:27:40 -0700 Subject: [PATCH] pre-commit autoupdate --- .pre-commit-config.yaml | 10 +++++----- tests/features/save_test.py | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bcdfcef..88fe6be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,16 +11,16 @@ repos: - id: name-tests-test - id: requirements-txt-fixer - repo: https://gitlab.com/pycqa/flake8 - rev: 3.7.9 + rev: 3.8.0 hooks: - id: flake8 additional_dependencies: [flake8-typing-imports==1.7.0] - repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v1.5 + rev: v1.5.2 hooks: - id: autopep8 - repo: https://github.com/asottile/reorder_python_imports - rev: v2.1.0 + rev: v2.3.0 hooks: - id: reorder-python-imports args: [--py3-plus] @@ -30,12 +30,12 @@ repos: - id: add-trailing-comma args: [--py36-plus] - repo: https://github.com/asottile/pyupgrade - rev: v2.1.0 + rev: v2.4.1 hooks: - id: pyupgrade args: [--py36-plus] - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.7.0 + rev: v1.9.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/pre-commit/mirrors-mypy diff --git a/tests/features/save_test.py b/tests/features/save_test.py index 72f3214..cb268dc 100644 --- a/tests/features/save_test.py +++ b/tests/features/save_test.py @@ -133,7 +133,7 @@ def test_save_via_ctrl_o(run, tmpdir): with run(str(f)) as h, and_exit(h): h.press('hello world') h.press('^O') - h.await_text(f'enter filename: ') + h.await_text('enter filename: ') h.press('Enter') h.await_text('saved! (1 line written)') assert f.read() == 'hello world\n' @@ -237,7 +237,7 @@ def test_vim_save_on_exit(run, tmpdir): h.press_and_enter(':q') h.await_text('file is modified - save [yes, no]?') h.press('y') - h.await_text(f'enter filename: ') + h.await_text('enter filename: ') h.press('Enter') h.await_exit()