From 9ae6ae275633a6d23874c3b224b2b202e430d0b9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 13 Apr 2022 15:33:49 -0400 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#1084) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v4.2.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v4.2.0) - [github.com/asottile/pyupgrade: v2.31.1 → v2.32.0](https://github.com/asottile/pyupgrade/compare/v2.31.1...v2.32.0) * chore: fix minor style msg Signed-off-by: Henry Schreiner * chore: use extend on flake8 Signed-off-by: Henry Schreiner Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner --- .pre-commit-config.yaml | 4 ++-- cibuildwheel/environment.py | 1 - setup.cfg | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 08c218a2..3497b7f3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.2.0 hooks: - id: check-case-conflict - id: check-merge-conflict @@ -14,7 +14,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v2.31.1 + rev: v2.32.0 hooks: - id: pyupgrade name: PyUpgrade 3.6+ diff --git a/cibuildwheel/environment.py b/cibuildwheel/environment.py index ba66d6e2..3bf982d2 100644 --- a/cibuildwheel/environment.py +++ b/cibuildwheel/environment.py @@ -51,7 +51,6 @@ class EnvironmentAssignment(Protocol): executor: Optional[bashlex_eval.EnvironmentExecutor] = None, ) -> str: """Returns the value of this assignment, as evaluated in the environment""" - ... class EnvironmentAssignmentRaw: diff --git a/setup.cfg b/setup.cfg index 36daa02d..6e0307fa 100644 --- a/setup.cfg +++ b/setup.cfg @@ -56,8 +56,8 @@ console_scripts = cibuildwheel = resources/* [flake8] -ignore = E501,W503,E741,E226,B950,E203 -select = C,E,F,W,B,B9 +extend-ignore = E203,E501,B950 +extend-select = B,B9 application-import-names = cibuildwheel exclude = cibuildwheel/resources/,