Skip to content

Commit

Permalink
Bump deps and tools (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborbernat authored Apr 7, 2023
1 parent ba7a132 commit 8017730
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repos:
hooks:
- id: rst-backticks
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: "1.0.0"
rev: "1.3.0"
hooks:
- id: tox-ini-fmt
args: [ "-p", "fix" ]
Expand Down
4 changes: 2 additions & 2 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.3",
"hatchling>=1.13",
"hatchling>=1.14",
]

[project]
Expand Down Expand Up @@ -34,7 +34,7 @@ dependencies = [
"pytest>=7.2.2",
]
optional-dependencies.test = [
"coverage>=7.2.2",
"coverage>=7.2.3",
"pytest-mock>=3.10",
]
urls.Homepage = "https://github.com/pytest-dev/pytest-env"
Expand Down
20 changes: 10 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[tox]
minversion = 3.21
envlist =
requires =
tox>=4.2
env_list =
fix
py311
py310
Expand All @@ -9,7 +10,6 @@ envlist =
py37
type
readme
isolated_build = true
skip_missing_interpreters = true

[testenv]
Expand All @@ -18,7 +18,7 @@ package = wheel
wheel_build_env = .pkg
extras =
test
setenv =
set_env =
COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}{/}.coverage.{envname}}
commands =
coverage erase
Expand All @@ -33,8 +33,8 @@ commands =
description = run static analysis and style check using flake8
skip_install = true
deps =
pre-commit>=3.2.1
passenv =
pre-commit>=3.2.2
pass_env =
HOMEPATH
PROGRAMDATA
commands =
Expand All @@ -43,8 +43,8 @@ commands =
[testenv:type]
description = run type check on code base
deps =
mypy==1.1.1
setenv =
mypy==1.2
set_env =
{tty:MYPY_FORCE_COLOR = 1}
commands =
mypy --strict src
Expand All @@ -56,14 +56,14 @@ skip_install = true
deps =
build[virtualenv]>=0.10
twine>=4.0.2
changedir = {toxinidir}
change_dir = {toxinidir}
commands =
python -m build -o {envtmpdir} .
twine check {envtmpdir}/*

[testenv:dev]
description = generate a DEV environment
usedevelop = true
package = editable
extras =
test
commands =
Expand Down

0 comments on commit 8017730

Please sign in to comment.