From 6636e56ec8e6b007ae48c28cecd393dfcf6ac89d Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Wed, 2 Jun 2021 16:47:20 +0200 Subject: [PATCH] Upgrade flake8-pytest-style The newly introduced "P023" error code must be disabled explicitly. --- poetry.lock | 14 +++++++------- setup.cfg | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index 4949972..204291b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -539,7 +539,7 @@ test = ["pytest (>=4.0.2,<6)"] [[package]] name = "flake8-plugin-utils" -version = "1.3.1" +version = "1.3.2" description = "The package provides base classes and utils for flake8 plugin writing" category = "dev" optional = false @@ -558,14 +558,14 @@ flake8 = "*" [[package]] name = "flake8-pytest-style" -version = "1.3.0" +version = "1.4.2" description = "A flake8 plugin checking common style issues or inconsistencies with pytest-based tests." category = "dev" optional = false python-versions = ">=3.6,<4.0" [package.dependencies] -flake8-plugin-utils = ">=1.3.1,<2.0.0" +flake8-plugin-utils = ">=1.3.2,<2.0.0" [[package]] name = "flake8-quotes" @@ -2320,16 +2320,16 @@ flake8-isort = [ {file = "flake8_isort-3.0.1-py2.py3-none-any.whl", hash = "sha256:df1dd6dd73f6a8b128c9c783356627231783cccc82c13c6dc343d1a5a491699b"}, ] flake8-plugin-utils = [ - {file = "flake8-plugin-utils-1.3.1.tar.gz", hash = "sha256:6e996bc24ebe327558f24efd106f1be5f0c033c8cbb6eed815631f73d487f1c9"}, - {file = "flake8_plugin_utils-1.3.1-py3-none-any.whl", hash = "sha256:efdbf9d15b18f72b7c348dd360f30e7cf3e73aa67ff832d5343eb5aa1115f250"}, + {file = "flake8-plugin-utils-1.3.2.tar.gz", hash = "sha256:20fa2a8ca2decac50116edb42e6af0a1253ef639ad79941249b840531889c65a"}, + {file = "flake8_plugin_utils-1.3.2-py3-none-any.whl", hash = "sha256:1fe43e3e9acf3a7c0f6b88f5338cad37044d2f156c43cb6b080b5f9da8a76f06"}, ] flake8-polyfill = [ {file = "flake8-polyfill-1.0.2.tar.gz", hash = "sha256:e44b087597f6da52ec6393a709e7108b2905317d0c0b744cdca6208e670d8eda"}, {file = "flake8_polyfill-1.0.2-py2.py3-none-any.whl", hash = "sha256:12be6a34ee3ab795b19ca73505e7b55826d5f6ad7230d31b18e106400169b9e9"}, ] flake8-pytest-style = [ - {file = "flake8-pytest-style-1.3.0.tar.gz", hash = "sha256:d141476de2d1a31e491c2090ba7d1e32980b11a2c12e8aa3b3cc844571b19bfa"}, - {file = "flake8_pytest_style-1.3.0-py3-none-any.whl", hash = "sha256:5a0bfb30696eb97473bb2078834794e9491848f975f680bdcb0554e5b4efbbfc"}, + {file = "flake8-pytest-style-1.4.2.tar.gz", hash = "sha256:33a2f24c65a5cbd68c501459a5c49b81f4a5e506e3e53afef968942f8e45a2f9"}, + {file = "flake8_pytest_style-1.4.2-py3-none-any.whl", hash = "sha256:c2d11f3964928a8bf8d160c66b28a3c92209f4cde286338adac9ccdf9a3fcbb3"}, ] flake8-quotes = [ {file = "flake8-quotes-2.1.2.tar.gz", hash = "sha256:c844c9592940c8926c60f00bc620808912ff2acd34923ab5338f3a5ca618a331"}, diff --git a/setup.cfg b/setup.cfg index 66f66ec..d7d2dc2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -89,6 +89,8 @@ extend-ignore = # Comply with black's style. # Source: https://github.com/psf/black/blob/master/docs/compatible_configs.md#flake8 E203, W503, WPS348, + # Let's not do `@pytest.mark.no_cover()` instead of `@pytest.mark.no_cover`. + PT023, # Google's Python Style Guide is not reStructuredText # until after being processed by Sphinx Napoleon. # Source: https://github.com/peterjc/flake8-rst-docstrings/issues/17