| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,6 @@ repos: | |||
| 14 | 14 | rev: 5.13.2 | |
| 15 | 15 | hooks: | |
| 16 | 16 | - id: isort | |
| 17 | - args: [--add-import=from __future__ import annotations] | ||
| 18 | 17 | ||
| 19 | 18 | - repo: https://github.com/PyCQA/flake8 | |
| 20 | 19 | rev: 7.0.0 | |
@@ -32,19 +31,28 @@ repos: | |||
| 32 | 31 | rev: v4.5.0 | |
| 33 | 32 | hooks: | |
| 34 | 33 | - id: check-case-conflict | |
| 35 | - - id: check-executables-have-shebangs | ||
| 36 | 34 | - id: check-merge-conflict | |
| 37 | - - id: check-json | ||
| 38 | 35 | - id: check-toml | |
| 39 | 36 | - id: check-yaml | |
| 40 | 37 | - id: debug-statements | |
| 41 | 38 | - id: end-of-file-fixer | |
| 42 | 39 | - id: trailing-whitespace | |
| 43 | 40 | ||
| 41 | + - repo: https://github.com/tox-dev/pyproject-fmt | ||
| 42 | + rev: 1.7.0 | ||
| 43 | + hooks: | ||
| 44 | + - id: pyproject-fmt | ||
| 45 | + args: [--max-supported-python=3.13] | ||
| 46 | + | ||
| 44 | 47 | - repo: https://github.com/abravalheri/validate-pyproject | |
| 45 | 48 | rev: v0.16 | |
| 46 | 49 | hooks: | |
| 47 | 50 | - id: validate-pyproject | |
| 48 | 51 | ||
| 52 | + - repo: meta | ||
| 53 | + hooks: | ||
| 54 | + - id: check-hooks-apply | ||
| 55 | + - id: check-useless-excludes | ||
| 56 | + | ||
| 49 | 57 | ci: | |
| 50 | 58 | autoupdate_schedule: quarterly | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,13 +36,14 @@ urls."Issue tracker" = "https://github.com/python/python-docs-theme/issues" | |||
| 36 | 36 | [project.entry-points."sphinx.html_themes"] | |
| 37 | 37 | python_docs_theme = 'python_docs_theme' | |
| 38 | 38 | ||
| 39 | - [tool.isort] | ||
| 40 | - profile = "black" | ||
| 41 | - | ||
| 42 | 39 | [tool.flit.module] | |
| 43 | 40 | name = "python_docs_theme" | |
| 44 | 41 | ||
| 45 | 42 | [tool.flit.sdist] | |
| 46 | 43 | include = [ | |
| 47 | 44 | "python_docs_theme/", | |
| 48 | 45 | ] | |
| 46 | + | ||
| 47 | + [tool.isort] | ||
| 48 | + add_imports = "from __future__ import annotations" | ||
| 49 | + profile = "black" | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments