Upgrade pre-commit hooks

Use `pre-commit autoupdate` to upgrade, and follow the message from `pre-commit-hooks` to move to the official `flake8` hook.
This commit is contained in:
Adam Johnson
2021-03-19 15:09:49 +00:00
committed by Bruno Oliveira
parent 1637dc18d0
commit f02aa70c95
6 changed files with 51 additions and 35 deletions

View File

@@ -46,8 +46,7 @@ class TestHooks:
)
def test_node_collection_finished(self, testdir):
"""Test pytest_xdist_node_collection_finished hook (#8).
"""
"""Test pytest_xdist_node_collection_finished hook (#8)."""
testdir.makeconftest(
"""
def pytest_xdist_node_collection_finished(node, ids):