Skip to content

Bump deps and tools #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,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
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pytest11 = pytest_print = pytest_print

[options.extras_require]
test =
coverage>=7.2.2
coverage>=7.2.3

[options.package_data]
pytest_print = py.typed
Expand Down
22 changes: 11 additions & 11 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
py310
py39
Expand All @@ -10,7 +11,6 @@ envlist =
pypy3
type
readme
isolated_build = true
skip_missing_interpreters = true

[testenv]
Expand All @@ -19,9 +19,9 @@ package = wheel
wheel_build_env = .pkg
extras =
test
passenv =
pass_env =
SSL_CERT_FILE
setenv =
set_env =
COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}{/}.coverage.{envname}}
_COVERAGE_SRC = {envsitepackagesdir}{/}pytest_print
_COVERAGE_TEST = {toxinidir}{/}tests
Expand All @@ -38,8 +38,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 =
{[testenv]passenv}
HOMEPATH
PROGRAMDATA
Expand All @@ -49,8 +49,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 src/pytest_print
Expand All @@ -62,14 +62,14 @@ skip_install = true
deps =
build[virtualenv]>=0.10
twine>=4.0.2
changedir = {toxinidir}
change_dir = {toxinidir}
commands =
python -m build -s -w . -o {envtmpdir}
twine check {envtmpdir}/*

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