[pre-commit.ci] pre-commit autoupdate (#1281)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 24.4.0 → 24.4.2](https://github.com/psf/black/compare/24.4.0...24.4.2)
- [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.4.3)

* Fix Sphinx warning

* pytest-mypy-plugins doesn't work on 3.13 yet

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
This commit is contained in:
pre-commit-ci[bot] 2024-05-08 10:19:47 +02:00 committed by GitHub
parent f7f317ae4c
commit f708291c4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -4,12 +4,12 @@ ci:
repos:
- repo: https://github.com/psf/black
rev: 24.4.0
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.1
rev: v0.4.3
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

View File

@ -97,7 +97,7 @@ html_theme_options = {
"sidebar_hide_name": True,
"light_logo": "attrs_logo.svg",
"dark_logo": "attrs_logo_white.svg",
"top_of_page_button": None,
"top_of_page_buttons": [],
"light_css_variables": {
"font-stack": "Inter,sans-serif",
"font-stack--monospace": "BerkeleyMono, MonoLisa, ui-monospace, "

View File

@ -31,7 +31,7 @@ dynamic = ["version", "readme"]
[project.optional-dependencies]
tests-mypy = [
'pytest-mypy-plugins; platform_python_implementation == "CPython" and python_version >= "3.8"',
'pytest-mypy-plugins; platform_python_implementation == "CPython" and python_version >= "3.8" and python_version < "3.13"',
# Since the mypy error messages keep changing, we have to keep updating this
# pin.
'mypy>=1.6,<1.10; platform_python_implementation == "CPython" and python_version >= "3.8"',