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/,