mirror of
https://gerrit.googlesource.com/git-repo
synced 2026-04-13 15:58:21 +00:00
Address warnings introduced by flake8-bugbear 24.12.12 and
flake8-comprehensions 3.16.0:
- C408: Replace dict()/list() calls with literal {} and []
- C413: Remove unnecessary list() around sorted()
- C414: Remove unnecessary list() inside sorted()
- C419: Suppress intentional list comprehension in all() (noqa)
- B001: Replace bare except with except Exception
- B006: Replace mutable default arguments with None
- B010: Replace setattr() with direct attribute assignment
- B017: Use RuntimeError instead of Exception in tests
- B019: Suppress lru_cache on methods for long-lived objects (noqa)
- B033: Remove duplicate item in set literal
Change-Id: If4693d3e946200bbc22f689f7b94da604addcb80
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/566321
Tested-by: Carlos Fernandez <carlosfsanz@meta.com>
Commit-Queue: Carlos Fernandez <carlosfsanz@meta.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
136 lines
2.6 KiB
Plaintext
136 lines
2.6 KiB
Plaintext
# This is a vpython "spec" file.
|
|
#
|
|
# Read more about `vpython` and how to modify this file here:
|
|
# https://chromium.googlesource.com/infra/infra/+/main/doc/users/vpython.md
|
|
# List of available wheels:
|
|
# https://chromium.googlesource.com/infra/infra/+/main/infra/tools/dockerbuild/wheels.md
|
|
|
|
python_version: "3.11"
|
|
|
|
wheel: <
|
|
name: "infra/python/wheels/pytest-py3"
|
|
version: "version:8.3.4"
|
|
>
|
|
|
|
# Required by pytest==8.3.4
|
|
wheel: <
|
|
name: "infra/python/wheels/py-py2_py3"
|
|
version: "version:1.11.0"
|
|
>
|
|
|
|
# Required by pytest==8.3.4
|
|
wheel: <
|
|
name: "infra/python/wheels/iniconfig-py3"
|
|
version: "version:1.1.1"
|
|
>
|
|
|
|
# Required by pytest==8.3.4
|
|
wheel: <
|
|
name: "infra/python/wheels/packaging-py3"
|
|
version: "version:23.0"
|
|
>
|
|
|
|
# Required by pytest==8.3.4
|
|
wheel: <
|
|
name: "infra/python/wheels/pluggy-py3"
|
|
version: "version:1.5.0"
|
|
>
|
|
|
|
# Required by pytest==8.3.4
|
|
wheel: <
|
|
name: "infra/python/wheels/toml-py3"
|
|
version: "version:0.10.1"
|
|
>
|
|
|
|
# Required by pytest==8.3.4
|
|
wheel: <
|
|
name: "infra/python/wheels/pyparsing-py3"
|
|
version: "version:3.0.7"
|
|
>
|
|
|
|
# Required by pytest==8.3.4 and flake8-bugbear==24.12.12
|
|
wheel: <
|
|
name: "infra/python/wheels/attrs-py3"
|
|
version: "version:24.2.0"
|
|
>
|
|
|
|
# NB: Keep in sync with constraints.txt.
|
|
wheel: <
|
|
name: "infra/python/wheels/black-py3"
|
|
version: "version:25.1.0"
|
|
>
|
|
|
|
# Required by black==25.1.0
|
|
wheel: <
|
|
name: "infra/python/wheels/mypy-extensions-py3"
|
|
version: "version:0.4.3"
|
|
>
|
|
|
|
# Required by black==25.1.0
|
|
wheel: <
|
|
name: "infra/python/wheels/tomli-py3"
|
|
version: "version:2.0.1"
|
|
>
|
|
|
|
# Required by black==25.1.0
|
|
wheel: <
|
|
name: "infra/python/wheels/platformdirs-py3"
|
|
version: "version:2.5.2"
|
|
>
|
|
|
|
# Required by black==25.1.0
|
|
wheel: <
|
|
name: "infra/python/wheels/pathspec-py3"
|
|
version: "version:0.9.0"
|
|
>
|
|
|
|
# Required by black==25.1.0
|
|
wheel: <
|
|
name: "infra/python/wheels/typing-extensions-py3"
|
|
version: "version:4.3.0"
|
|
>
|
|
|
|
# Required by black==25.1.0
|
|
wheel: <
|
|
name: "infra/python/wheels/click-py3"
|
|
version: "version:8.0.3"
|
|
>
|
|
|
|
wheel: <
|
|
name: "infra/python/wheels/flake8-py2_py3"
|
|
version: "version:6.0.0"
|
|
>
|
|
|
|
# Required by flake8==6.0.0
|
|
wheel: <
|
|
name: "infra/python/wheels/mccabe-py2_py3"
|
|
version: "version:0.7.0"
|
|
>
|
|
|
|
# Required by flake8==6.0.0
|
|
wheel: <
|
|
name: "infra/python/wheels/pyflakes-py2_py3"
|
|
version: "version:3.0.1"
|
|
>
|
|
|
|
# Required by flake8==6.0.0
|
|
wheel: <
|
|
name: "infra/python/wheels/pycodestyle-py2_py3"
|
|
version: "version:2.10.0"
|
|
>
|
|
|
|
wheel: <
|
|
name: "infra/python/wheels/flake8-bugbear-py3"
|
|
version: "version:24.12.12"
|
|
>
|
|
|
|
wheel: <
|
|
name: "infra/python/wheels/flake8-comprehensions-py3"
|
|
version: "version:3.16.0"
|
|
>
|
|
|
|
wheel: <
|
|
name: "infra/python/wheels/isort-py3"
|
|
version: "version:5.10.1"
|
|
>
|