From 6384f658408625b15b44f409d1c505cbd245581a Mon Sep 17 00:00:00 2001 From: "repo-helper[bot]" <74742576+repo-helper[bot]@users.noreply.github.com> Date: Thu, 19 Feb 2026 23:07:48 +0000 Subject: [PATCH] Updated files with 'repo_helper'. --- .pre-commit-config.yaml | 7 +++++-- doc-source/requirements.txt | 1 + formate.toml | 1 + tox.ini | 1 - 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8d04300..23ae1b2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: - id: end-of-file-fixer - repo: https://github.com/domdfcoding/pre-commit-hooks - rev: v0.4.0 + rev: v0.6.0 hooks: - id: requirements-txt-sorter args: @@ -80,12 +80,15 @@ repos: - id: snippet-fmt - repo: https://github.com/python-formate/formate - rev: v0.9.0 + rev: v1.2.0 hooks: - id: formate exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$ additional_dependencies: - formate-trailing-commas>=0.1.1 + types_or: + - python + - pyi - repo: https://github.com/python-coincidence/dep_checker rev: v0.9.0 diff --git a/doc-source/requirements.txt b/doc-source/requirements.txt index 0f8d713..781156e 100644 --- a/doc-source/requirements.txt +++ b/doc-source/requirements.txt @@ -9,6 +9,7 @@ pyyaml>=5.3.1 repo-helper-sphinx-theme>=0.0.2 roman>=4.0 seed-intersphinx-mapping>=1.2.2 +setuptools<81 sphinx>=3.0.3 sphinx-copybutton>=0.2.12 sphinx-debuginfo>=0.2.2 diff --git a/formate.toml b/formate.toml index e95d9ab..a6b92ab 100644 --- a/formate.toml +++ b/formate.toml @@ -5,6 +5,7 @@ reformat-generics = 40 noqa-reformat = 60 ellipsis-reformat = 70 squish_stubs = 80 +newline_after_equals = 90 [hooks.yapf] priority = 30 diff --git a/tox.ini b/tox.ini index 8afe2bc..6038154 100644 --- a/tox.ini +++ b/tox.ini @@ -132,7 +132,6 @@ deps = git+https://github.com/python-formate/flake8-missing-annotations.git git+https://github.com/domdfcoding/pydocstyle.git@stub-functions pygments>=2.7.1 - importlib_metadata<4.5.0; python_version<'3.8' commands = python3 -m flake8_rst_docstrings_sphinx cawdrey tests --allow-toolbox {posargs} [testenv:perflint]