-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/python-jsonschema/check-jsonschema: 0.30.0 → 0.31.0](python-jsonschema/check-jsonschema@0.30.0...0.31.0) - [github.com/astral-sh/ruff-pre-commit: v0.8.3 → v0.9.2](astral-sh/ruff-pre-commit@v0.8.3...v0.9.2) * Fix failures and drop 3.8 Signed-off-by: Bernát Gábor <[email protected]> --------- Signed-off-by: Bernát Gábor <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bernát Gábor <[email protected]>
- Loading branch information
1 parent
23a9848
commit 5eb02b2
Showing
6 changed files
with
58 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,17 +5,17 @@ repos: | |
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/python-jsonschema/check-jsonschema | ||
rev: 0.30.0 | ||
rev: 0.31.0 | ||
hooks: | ||
- id: check-github-workflows | ||
args: ["--verbose"] | ||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.3.0 | ||
hooks: | ||
- id: codespell | ||
additional_dependencies: ["tomli>=2.0.1"] | ||
additional_dependencies: ["tomli>=2.2.1"] | ||
- repo: https://github.com/tox-dev/tox-ini-fmt | ||
rev: "1.4.1" | ||
rev: "1.5.0" | ||
hooks: | ||
- id: tox-ini-fmt | ||
args: ["-p", "fix"] | ||
|
@@ -24,7 +24,7 @@ repos: | |
hooks: | ||
- id: pyproject-fmt | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: "v0.8.3" | ||
rev: "v0.9.2" | ||
hooks: | ||
- id: ruff-format | ||
- id: ruff | ||
|
@@ -34,7 +34,7 @@ repos: | |
hooks: | ||
- id: prettier | ||
additional_dependencies: | ||
- prettier@3.3.3 | ||
- prettier@3.4.2 | ||
- "@prettier/[email protected]" | ||
- repo: meta | ||
hooks: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
build-backend = "hatchling.build" | ||
requires = [ | ||
"hatch-vcs>=0.4", | ||
"hatchling>=1.25", | ||
"hatchling>=1.27", | ||
] | ||
|
||
[project] | ||
|
@@ -20,15 +20,14 @@ license = "Unlicense" | |
maintainers = [ | ||
{ name = "Bernát Gábor", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.9" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: The Unlicense (Unlicense)", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
|
@@ -43,19 +42,19 @@ dynamic = [ | |
] | ||
optional-dependencies.docs = [ | ||
"furo>=2024.8.6", | ||
"sphinx>=8.0.2", | ||
"sphinx-autodoc-typehints>=2.4.1", | ||
"sphinx>=8.1.3", | ||
"sphinx-autodoc-typehints>=3", | ||
] | ||
optional-dependencies.testing = [ | ||
"covdefaults>=2.3", | ||
"coverage>=7.6.1", | ||
"diff-cover>=9.2", | ||
"pytest>=8.3.3", | ||
"pytest-asyncio>=0.24", | ||
"pytest-cov>=5", | ||
"coverage>=7.6.10", | ||
"diff-cover>=9.2.1", | ||
"pytest>=8.3.4", | ||
"pytest-asyncio>=0.25.2", | ||
"pytest-cov>=6", | ||
"pytest-mock>=3.14", | ||
"pytest-timeout>=2.3.1", | ||
"virtualenv>=20.26.4", | ||
"virtualenv>=20.28.1", | ||
] | ||
optional-dependencies.typing = [ | ||
"typing-extensions>=4.12.2; python_version<'3.11'", | ||
|
@@ -75,7 +74,6 @@ build.targets.sdist.include = [ | |
version.source = "vcs" | ||
|
||
[tool.ruff] | ||
target-version = "py38" | ||
line-length = 120 | ||
format.preview = true | ||
format.docstring-code-line-length = 100 | ||
|
@@ -84,7 +82,6 @@ lint.select = [ | |
"ALL", | ||
] | ||
lint.ignore = [ | ||
"ANN101", # Missing type annotation for `self` in method | ||
"COM812", # Conflict with formatter | ||
"CPY", # No copyright statements | ||
"D203", # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters