Skip to content

Commit

Permalink
bug: fix the tox fix environment failing (#2296)
Browse files Browse the repository at this point in the history
Signed-off-by: Bernát Gábor <[email protected]>
  • Loading branch information
gaborbernat authored Feb 2, 2025
1 parent 96a023e commit 2c7f319
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 167 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ scripts.datamodel-codegen = "datamodel_code_generator.__main__:main"
[dependency-groups]
dev = [
{ include-group = "docs" },
{ include-group = "lint" },
{ include-group = "fix" },
{ include-group = "pkg-meta" },
{ include-group = "test" },
{ include-group = "type" },
Expand Down Expand Up @@ -87,7 +87,7 @@ docs = [
"mkdocs>=1.6",
"mkdocs-material>=9.5.31",
]
lint = [ "black>=23.3,<25", "pre-commit", "ruff>=0.0.290,<0.7.5", "ruff-lsp>=0.0.39,<0.0.60" ]
fix = [ "pre-commit>=3.5" ]
pkg-meta = [ "check-wheel-contents>=0.6.1", "twine>=6.1", "uv>=0.5.22" ]

[tool.hatch]
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ dependency_groups = test
[testenv:fix]
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
skip_install = true
deps =
pre-commit-uv>=4.1.4
commands =
pre-commit run --all-files --show-diff-on-failure
dependency_groups = fix

[testenv:readme]
description = Update help in readme
commands =
python scripts/update_command_help_on_markdown.py {posargs:--validate}
dependency_groups =

[testenv:pkg_meta]
description = check that the long description is valid
Expand Down Expand Up @@ -84,3 +84,4 @@ description = refresh requirement files
skip_install = true
commands =
uv lock --refresh --upgrade
dependency_groups =
Loading

0 comments on commit 2c7f319

Please sign in to comment.