Skip to content

Commit

Permalink
Fix the CI
Browse files Browse the repository at this point in the history
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
  • Loading branch information
gaborbernat committed Jun 22, 2024
1 parent acf0708 commit e160277
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ repos:
rev: "2.1.3"
hooks:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.12.1"]
additional_dependencies: ["tox>=4.15.1"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.9"
rev: "v0.4.10"
hooks:
- id: ruff-format
- id: ruff
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
build-backend = "hatchling.build"
requires = [
"hatch-vcs>=0.4",
"hatchling>=1.21.1",
"hatchling>=1.25",
]

[project]
Expand Down Expand Up @@ -40,14 +40,14 @@ dynamic = [
"version",
]
dependencies = [
"tox>=4.12.1",
"tox>=4.15.1",
]
optional-dependencies.test = [
"covdefaults>=2.3",
"devpi-process>=1",
"pytest>=8",
"pytest-cov>=4.1",
"pytest-mock>=3.12",
"pytest>=8.2.2",
"pytest-cov>=5",
"pytest-mock>=3.14",
]
urls.Documentation = "https://github.com/tox-dev/tox-gh#tox-gh"
urls.Homepage = "https://github.com/tox-dev/tox-gh"
Expand Down
1 change: 0 additions & 1 deletion tests/test_tox_gh.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def test_gh_ok(monkeypatch: MonkeyPatch, tox_project: ToxProjectCreator, tmp_pat
ANY, # pip install setuptools wheel
ANY, # .pkg: _optional_hooks
ANY, # .pkg: get_requires_for_build_editable
ANY, # .pkg: install_requires_for_build_editable
".pkg: freeze> python -m pip freeze --all",
ANY, # freeze list
ANY, # .pkg: build_editable
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ commands =
description = run static analysis and style check using flake8
skip_install = true
deps =
pre-commit>=3.6
pre-commit>=3.7.1
pass_env =
HOMEPATH
PROGRAMDATA
Expand All @@ -42,7 +42,7 @@ commands =
[testenv:type]
description = run type check on code base
deps =
mypy==1.8
mypy==1.10
set_env =
{tty:MYPY_FORCE_COLOR = 1}
commands =
Expand All @@ -53,8 +53,8 @@ commands =
description = check that the package metadata is correct
skip_install = true
deps =
build[virtualenv]>=1.0.3
twine>=4.0.2
build[virtualenv]>=1.2.1
twine>=5.1
set_env =
{tty:FORCE_COLOR = 1}
change_dir = {toxinidir}
Expand Down

0 comments on commit e160277

Please sign in to comment.