Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 30, 2024
1 parent 2bdc46c commit 71713f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ skip_missing_interpreters = true
description = run the unit tests with pytest under {base_python}
package = wheel
wheel_build_env = .pkg
dependency_groups = test
pass_env =
DIFF_AGAINST
PYTEST_*
Expand All @@ -31,6 +30,7 @@ commands =
--junitxml {work_dir}{/}junit.{env_name}.xml \
tests}
diff-cover --compare-branch {env:DIFF_AGAINST:origin/main} {work_dir}{/}coverage.{env_name}.xml --fail-under 100
dependency_groups = test

[testenv:fix]
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
Expand All @@ -42,24 +42,24 @@ commands =

[testenv:type]
description = run type check on code base
dependency_groups = type
commands =
mypy src
mypy tests
dependency_groups = type

[testenv:pkg_meta]
description = check that the long description is valid
skip_install = true
dependency_groups = pkg-meta
commands =
uv build --sdist --wheel --out-dir {env_tmp_dir} .
twine check {env_tmp_dir}{/}*
check-wheel-contents --no-config {env_tmp_dir}
dependency_groups = pkg-meta

[testenv:dev]
description = generate a DEV environment
package = editable
dependency_groups = dev
commands =
uv pip tree
python -c 'import sys; print(sys.executable)'
dependency_groups = dev

0 comments on commit 71713f6

Please sign in to comment.