| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,12 +1,12 @@ | |||
| 1 | 1 | repos: | |
| 2 | 2 | - repo: https://github.com/astral-sh/ruff-pre-commit | |
| 3 | - rev: v0.4.0 | ||
| 3 | + rev: v0.6.8 | ||
| 4 | 4 | hooks: | |
| 5 | 5 | - id: ruff | |
| 6 | 6 | args: [--exit-non-zero-on-fix] | |
| 7 | 7 | ||
| 8 | 8 | - repo: https://github.com/psf/black-pre-commit-mirror | |
| 9 | - rev: 24.4.0 | ||
| 9 | + rev: 24.8.0 | ||
| 10 | 10 | hooks: | |
| 11 | 11 | - id: black | |
| 12 | 12 | ||
@@ -22,24 +22,24 @@ repos: | |||
| 22 | 22 | - id: trailing-whitespace | |
| 23 | 23 | ||
| 24 | 24 | - repo: https://github.com/python-jsonschema/check-jsonschema | |
| 25 | - rev: 0.28.2 | ||
| 25 | + rev: 0.29.2 | ||
| 26 | 26 | hooks: | |
| 27 | 27 | - id: check-dependabot | |
| 28 | 28 | - id: check-github-workflows | |
| 29 | 29 | ||
| 30 | 30 | - repo: https://github.com/rhysd/actionlint | |
| 31 | - rev: v1.6.27 | ||
| 31 | + rev: v1.7.2 | ||
| 32 | 32 | hooks: | |
| 33 | 33 | - id: actionlint | |
| 34 | 34 | ||
| 35 | 35 | - repo: https://github.com/tox-dev/pyproject-fmt | |
| 36 | - rev: 1.8.0 | ||
| 36 | + rev: 2.2.4 | ||
| 37 | 37 | hooks: | |
| 38 | 38 | - id: pyproject-fmt | |
| 39 | 39 | args: [--max-supported-python=3.13] | |
| 40 | 40 | ||
| 41 | 41 | - repo: https://github.com/abravalheri/validate-pyproject | |
| 42 | - rev: v0.16 | ||
| 42 | + rev: v0.20.2 | ||
| 43 | 43 | hooks: | |
| 44 | 44 | - id: validate-pyproject | |
| 45 | 45 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | [build-system] | |
| 2 | 2 | build-backend = "flit_core.buildapi" | |
| 3 | 3 | requires = [ | |
| 4 | - "flit_core>=3.7", | ||
| 4 | + "flit-core>=3.7", | ||
| 5 | 5 | ] | |
| 6 | 6 | ||
| 7 | 7 | [project] | |
@@ -10,7 +10,7 @@ version = "2024.6" | |||
| 10 | 10 | description = "The Sphinx theme for the CPython docs and related projects" | |
| 11 | 11 | readme = "README.md" | |
| 12 | 12 | license.file = "LICENSE" | |
| 13 | - authors = [{name = "PyPA", email = "distutils-sig@python.org"}] | ||
| 13 | + authors = [ { name = "PyPA", email = "distutils-sig@python.org" } ] | ||
| 14 | 14 | requires-python = ">=3.9" | |
| 15 | 15 | classifiers = [ | |
| 16 | 16 | "Development Status :: 5 - Production/Stable", | |
@@ -32,22 +32,18 @@ urls.Code = "https://github.com/python/python-docs-theme" | |||
| 32 | 32 | urls.Download = "https://pypi.org/project/python-docs-theme/" | |
| 33 | 33 | urls.Homepage = "https://github.com/python/python-docs-theme/" | |
| 34 | 34 | urls."Issue tracker" = "https://github.com/python/python-docs-theme/issues" | |
| 35 | - [project.entry-points."sphinx.html_themes"] | ||
| 36 | - python_docs_theme = 'python_docs_theme' | ||
| 35 | + entry-points."sphinx.html_themes".python_docs_theme = "python_docs_theme" | ||
| 37 | 36 | ||
| 38 | 37 | [tool.flit.module] | |
| 39 | 38 | name = "python_docs_theme" | |
| 40 | 39 | ||
| 41 | 40 | [tool.flit.sdist] | |
| 42 | - include = [ | ||
| 43 | - "python_docs_theme/", | ||
| 44 | - ] | ||
| 41 | + include = [ "python_docs_theme/" ] | ||
| 45 | 42 | ||
| 46 | 43 | [tool.ruff] | |
| 47 | 44 | fix = true | |
| 48 | 45 | ||
| 49 | - [tool.ruff.lint] | ||
| 50 | - select = [ | ||
| 46 | + lint.select = [ | ||
| 51 | 47 | "C4", # flake8-comprehensions | |
| 52 | 48 | "E", # pycodestyle errors | |
| 53 | 49 | "F", # pyflakes errors | |
@@ -56,19 +52,16 @@ select = [ | |||
| 56 | 52 | "LOG", # flake8-logging | |
| 57 | 53 | "PGH", # pygrep-hooks | |
| 58 | 54 | "PYI", # flake8-pyi | |
| 59 | - "RUF100", # unused noqa (yesqa) | ||
| 60 | 55 | "RUF022", # unsorted-dunder-all | |
| 56 | + "RUF100", # unused noqa (yesqa) | ||
| 61 | 57 | "UP", # pyupgrade | |
| 62 | 58 | "W", # pycodestyle warnings | |
| 63 | 59 | "YTT", # flake8-2020 | |
| 64 | 60 | ] | |
| 65 | - ignore = [ | ||
| 66 | - "E203", # Whitespace before ':' | ||
| 67 | - "E221", # Multiple spaces before operator | ||
| 68 | - "E226", # Missing whitespace around arithmetic operator | ||
| 69 | - "E241", # Multiple spaces after ',' | ||
| 61 | + lint.ignore = [ | ||
| 62 | + "E203", # Whitespace before ':' | ||
| 63 | + "E221", # Multiple spaces before operator | ||
| 64 | + "E226", # Missing whitespace around arithmetic operator | ||
| 65 | + "E241", # Multiple spaces after ',' | ||
| 70 | 66 | ] | |
| 71 | - | ||
| 72 | - | ||
| 73 | - [tool.ruff.lint.isort] | ||
| 74 | - required-imports = ["from __future__ import annotations"] | ||
| 67 | + lint.isort.required-imports = [ "from __future__ import annotations" ] | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments