Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #163

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,31 @@ exclude: >
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-json
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.4.2
hooks:
- id: black

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear~=22.7]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
rev: v1.10.0
hooks:
- id: mypy
additional_dependencies: []
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Configuration file for the Sphinx documentation builder."""

import os

project = "Sphinx Design"
Expand Down
1 change: 1 addition & 0 deletions sphinx_design/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""A sphinx extension for designing beautiful, view size responsive web components."""

from typing import TYPE_CHECKING

__version__ = "0.5.0"
Expand Down
1 change: 1 addition & 0 deletions sphinx_design/_compat.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Helpers for cross compatibility across dependency versions."""

from importlib import resources
from typing import Callable, Iterable

Expand Down
1 change: 1 addition & 0 deletions sphinx_design/dropdown.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Originally Adapted from sphinxcontrib.details.directive
"""

from docutils import nodes
from docutils.parsers.rst import directives
from sphinx.application import Sphinx
Expand Down
1 change: 1 addition & 0 deletions tests/test_snippets.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the documented snippets run correctly, and are the same for both RST and MyST."""

from pathlib import Path
from typing import Callable

Expand Down