Merge pull request #709 from pypa/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
+13
-13
@@ -13,13 +13,25 @@ repos:
|
|||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
|
||||||
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
|
rev: v2.19.0
|
||||||
|
hooks:
|
||||||
|
- id: pyupgrade
|
||||||
|
name: PyUpgrade 3.6+
|
||||||
|
args: ["--py36-plus"]
|
||||||
|
exclude: ^bin/
|
||||||
|
- id: pyupgrade
|
||||||
|
name: PyUpgrade 3.7+ on bin
|
||||||
|
exclude: ^(cibuildwheel|unit_test|test)/
|
||||||
|
args: ["--py37-plus"]
|
||||||
|
|
||||||
- repo: https://github.com/PyCQA/isort
|
- repo: https://github.com/PyCQA/isort
|
||||||
rev: 5.8.0
|
rev: 5.8.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
|
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 21.5b1
|
rev: 21.5b2
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
|
|
||||||
@@ -42,18 +54,6 @@ repos:
|
|||||||
additional_dependencies: [packaging]
|
additional_dependencies: [packaging]
|
||||||
args: ["--python-version=3.7", "--ignore-missing-imports", "--scripts-are-modules"]
|
args: ["--python-version=3.7", "--ignore-missing-imports", "--scripts-are-modules"]
|
||||||
|
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
|
||||||
rev: v2.16.0
|
|
||||||
hooks:
|
|
||||||
- id: pyupgrade
|
|
||||||
name: PyUpgrade 3.6+
|
|
||||||
args: ["--py36-plus"]
|
|
||||||
exclude: ^bin/
|
|
||||||
- id: pyupgrade
|
|
||||||
name: PyUpgrade 3.7+ on bin
|
|
||||||
exclude: ^(cibuildwheel|unit_test|test)/
|
|
||||||
args: ["--py37-plus"]
|
|
||||||
|
|
||||||
- repo: https://github.com/PyCQA/flake8
|
- repo: https://github.com/PyCQA/flake8
|
||||||
rev: 3.9.2
|
rev: 3.9.2
|
||||||
hooks:
|
hooks:
|
||||||
|
|||||||
@@ -165,11 +165,11 @@ class PyPyVersions:
|
|||||||
version = release["python_version"]
|
version = release["python_version"]
|
||||||
identifier = f"pp{version.major}{version.minor}-macosx_x86_64"
|
identifier = f"pp{version.major}{version.minor}-macosx_x86_64"
|
||||||
|
|
||||||
(url,) = [
|
(url,) = (
|
||||||
rf["download_url"]
|
rf["download_url"]
|
||||||
for rf in release["files"]
|
for rf in release["files"]
|
||||||
if "" in rf["platform"] == "darwin" and rf["arch"] == "x64"
|
if "" in rf["platform"] == "darwin" and rf["arch"] == "x64"
|
||||||
]
|
)
|
||||||
|
|
||||||
return ConfigMacOS(
|
return ConfigMacOS(
|
||||||
identifier=identifier,
|
identifier=identifier,
|
||||||
|
|||||||
+2
-4
@@ -150,10 +150,8 @@ def expected_wheels(
|
|||||||
|
|
||||||
platform_tags = [
|
platform_tags = [
|
||||||
".".join(
|
".".join(
|
||||||
[
|
f"{manylinux_version}_{architecture}"
|
||||||
f"{manylinux_version}_{architecture}"
|
for manylinux_version in manylinux_versions
|
||||||
for manylinux_version in manylinux_versions
|
|
||||||
]
|
|
||||||
)
|
)
|
||||||
for architecture in architectures
|
for architecture in architectures
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user