[pre-commit.ci] pre-commit autoupdate (#2440)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.11 → v0.11.12](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.11...v0.11.12) - [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.16.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.15.0...v1.16.0) * chore: update some things for checks Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * chore: fully use PEP 639 licensing Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
co-authored by
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Henry Schreiner
parent
03a2ba0bec
commit
4aa7d7e9c1
@@ -14,14 +14,14 @@ repos:
|
|||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.11.11
|
rev: v0.11.12
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: ["--fix", "--show-fixes"]
|
args: ["--fix", "--show-fixes"]
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v1.15.0
|
rev: v1.16.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
name: mypy 3.11 on cibuildwheel/
|
name: mypy 3.11 on cibuildwheel/
|
||||||
|
|||||||
@@ -135,6 +135,7 @@ def fetch_icon(icon_name: str) -> None:
|
|||||||
|
|
||||||
document = xml.dom.minidom.parseString(original_svg_data)
|
document = xml.dom.minidom.parseString(original_svg_data)
|
||||||
svgElement = document.documentElement
|
svgElement = document.documentElement
|
||||||
|
assert svgElement is not None
|
||||||
assert svgElement.nodeName == "svg"
|
assert svgElement.nodeName == "svg"
|
||||||
svgElement.setAttribute("width", "16px")
|
svgElement.setAttribute("width", "16px")
|
||||||
svgElement.setAttribute("fill", "#606060")
|
svgElement.setAttribute("fill", "#606060")
|
||||||
|
|||||||
+2
-2
@@ -8,6 +8,7 @@ version = "3.0.0b4"
|
|||||||
description = "Build Python wheels on CI with minimal configuration."
|
description = "Build Python wheels on CI with minimal configuration."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "BSD-2-Clause"
|
license = "BSD-2-Clause"
|
||||||
|
license-files = ["LICENSE"]
|
||||||
requires-python = ">=3.11"
|
requires-python = ">=3.11"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Joe Rickerby", email = "joerick@mac.com" },
|
{ name = "Joe Rickerby", email = "joerick@mac.com" },
|
||||||
@@ -25,7 +26,6 @@ keywords = [
|
|||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 5 - Production/Stable",
|
"Development Status :: 5 - Production/Stable",
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
"License :: OSI Approved :: BSD License",
|
|
||||||
"Natural Language :: English",
|
"Natural Language :: English",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Programming Language :: Python :: 3 :: Only",
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
@@ -102,7 +102,7 @@ addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
|
|||||||
junit_family = "xunit2"
|
junit_family = "xunit2"
|
||||||
xfail_strict = true
|
xfail_strict = true
|
||||||
filterwarnings = ["error"]
|
filterwarnings = ["error"]
|
||||||
log_cli_level = "info"
|
log_cli_level = "INFO"
|
||||||
markers = [
|
markers = [
|
||||||
"serial: tests that must *not* be run in parallel (deselect with '-m \"not serial\"')",
|
"serial: tests that must *not* be run in parallel (deselect with '-m \"not serial\"')",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user