Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#4)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/python-jsonschema/check-jsonschema: 0.29.4 → 0.30.0](python-jsonschema/check-jsonschema@0.29.4...0.30.0)
- [github.com/tox-dev/pyproject-fmt: 2.4.3 → v2.5.0](tox-dev/pyproject-fmt@2.4.3...v2.5.0)
- [github.com/astral-sh/ruff-pre-commit: v0.7.0 → v0.8.1](astral-sh/ruff-pre-commit@v0.7.0...v0.8.1)
- [github.com/rbubley/mirrors-prettier: v3.3.3 → v3.4.1](rbubley/mirrors-prettier@v3.3.3...v3.4.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Dec 3, 2024
1 parent 49d936a commit 51d917a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.4
rev: 0.30.0
hooks:
- id: check-github-workflows
args: ["--verbose"]
Expand All @@ -15,18 +15,18 @@ repos:
- id: codespell
additional_dependencies: ["tomli>=2.0.1"]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.4.3"
rev: "v2.5.0"
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.7.0"
rev: "v0.8.1"
hooks:
- id: ruff-format
args: ["--config", "pyproject.toml"]
- id: ruff
args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix", "--config", "pyproject.toml"]
- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.3.3"
rev: "v3.4.1"
hooks:
- id: prettier
name: Prettier non-workflow files
Expand Down
42 changes: 21 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,27 @@ urls.Homepage = "https://github.com/tox-dev/toml-fmt-common"
urls.Source = "https://github.com/tox-dev/toml-fmt-common"
urls.Tracker = "https://github.com/tox-dev/toml-fmt-common/issues"

[dependency-groups]
dev = [
{ include-group = "test" },
{ include-group = "type" },
]
test = [
"covdefaults>=2.3",
"pytest>=8.3.2",
"pytest-cov>=5",
"pytest-mock>=3.14",
]
type = [
"mypy==1.11.2",
{ include-group = "test" },
]
pkg-meta = [
"check-wheel-contents>=0.6",
"twine>=5.1.1",
"uv>=0.4.17",
]

[tool.hatch]
version.source = "vcs"

Expand Down Expand Up @@ -112,24 +133,3 @@ run.plugins = [
[tool.mypy]
show_error_codes = true
strict = true

[dependency-groups]
dev = [
{ include-group = "test" },
{ include-group = "type" },
]
pkg-meta = [
"check-wheel-contents>=0.6",
"twine>=5.1.1",
"uv>=0.4.17",
]
test = [
"covdefaults>=2.3",
"pytest>=8.3.2",
"pytest-cov>=5",
"pytest-mock>=3.14",
]
type = [
"mypy==1.11.2",
{ include-group = "test" },
]

0 comments on commit 51d917a

Please sign in to comment.