From 223da14bb249503574f1699b17d46cd4b7fc7885 Mon Sep 17 00:00:00 2001 From: Martin Thoma Date: Thu, 4 Aug 2022 22:46:59 +0200 Subject: [PATCH] DEV: Add flake8-print (#1203) --- .flake8 | 3 ++- .pre-commit-config.yaml | 2 +- requirements/ci.in | 1 + requirements/ci.txt | 19 +++++++++++++------ 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.flake8 b/.flake8 index 44091fbb1..122507c9a 100644 --- a/.flake8 +++ b/.flake8 @@ -4,4 +4,5 @@ ignore = E203,E501,E741,W503,W604,N817,N814,VNE001,VNE002,VNE003,N802,SIM105,P101 exclude = build,sample-files per-file-ignores = - tests/*: ASS001,PT011,B011 + tests/*: ASS001,PT011,B011,T001 + make_changelog.py:T001 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e9ee5a062..ffb52bab4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: - id: blacken-docs additional_dependencies: [black==22.1.0] - repo: https://github.com/asottile/pyupgrade - rev: v2.37.2 + rev: v2.37.3 hooks: - id: pyupgrade args: [--py36-plus] diff --git a/requirements/ci.in b/requirements/ci.in index f94a627d7..0527a1f05 100644 --- a/requirements/ci.in +++ b/requirements/ci.in @@ -2,6 +2,7 @@ coverage flake8 flake8_implicit_str_concat flake8-bugbear +flake8-print mypy pillow pytest diff --git a/requirements/ci.txt b/requirements/ci.txt index 86a7f5154..bf8372cb2 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -11,14 +11,17 @@ attrs==20.3.0 # pytest coverage==6.2 # via -r requirements/ci.in -flake8==4.0.1 +flake8==5.0.4 # via # -r requirements/ci.in # flake8-bugbear + # flake8-print flake8-bugbear==22.7.1 # via -r requirements/ci.in flake8-implicit-str-concat==0.2.0 # via -r requirements/ci.in +flake8-print==4.0.1 + # via -r requirements/ci.in importlib-metadata==4.2.0 # via # flake8 @@ -26,7 +29,7 @@ importlib-metadata==4.2.0 # pytest iniconfig==1.1.1 # via pytest -mccabe==0.6.1 +mccabe==0.7.0 # via flake8 more-itertools==8.13.0 # via flake8-implicit-str-concat @@ -44,11 +47,13 @@ py==1.11.0 # via pytest py-cpuinfo==8.0.0 # via pytest-benchmark -pycodestyle==2.8.0 - # via flake8 +pycodestyle==2.9.1 + # via + # flake8 + # flake8-print pycryptodome==3.15.0 # via -r requirements/ci.in -pyflakes==2.4.0 +pyflakes==2.5.0 # via flake8 pyparsing==3.0.9 # via packaging @@ -58,6 +63,8 @@ pytest==7.0.1 # pytest-benchmark pytest-benchmark==3.4.1 # via -r requirements/ci.in +six==1.16.0 + # via flake8-print tomli==1.2.3 # via # mypy @@ -66,7 +73,7 @@ typed-ast==1.5.4 # via mypy typeguard==2.13.3 # via -r requirements/ci.in -types-pillow==9.2.0 +types-pillow==9.2.1 # via -r requirements/ci.in typing-extensions==4.1.1 # via