Skip to content

Commit ebe0ae1

Browse files
authored
Bump deps and tools (#18)
1 parent b451535 commit ebe0ae1

File tree

4 files changed

+20
-21
lines changed

4 files changed

+20
-21
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.3.0
3+
rev: v4.4.0
44
hooks:
55
- id: check-ast
66
- id: check-builtin-literals
@@ -12,42 +12,42 @@ repos:
1212
- id: end-of-file-fixer
1313
- id: trailing-whitespace
1414
- repo: https://github.com/asottile/pyupgrade
15-
rev: v3.0.0
15+
rev: v3.3.1
1616
hooks:
1717
- id: pyupgrade
1818
args: [ "--py37-plus" ]
1919
- repo: https://github.com/PyCQA/isort
20-
rev: 5.10.1
20+
rev: 5.12.0
2121
hooks:
2222
- id: isort
2323
- repo: https://github.com/psf/black
24-
rev: 22.10.0
24+
rev: 23.1.0
2525
hooks:
2626
- id: black
2727
args: [ --safe ]
2828
- repo: https://github.com/asottile/blacken-docs
29-
rev: v1.12.1
29+
rev: 1.13.0
3030
hooks:
3131
- id: blacken-docs
32-
additional_dependencies: [ black==22.10 ]
32+
additional_dependencies: [ black==23.1 ]
3333
- repo: https://github.com/pre-commit/pygrep-hooks
34-
rev: v1.9.0
34+
rev: v1.10.0
3535
hooks:
3636
- id: rst-backticks
3737
- repo: https://github.com/tox-dev/tox-ini-fmt
38-
rev: "0.5.2"
38+
rev: "0.6.1"
3939
hooks:
4040
- id: tox-ini-fmt
4141
args: [ "-p", "fix" ]
4242
- repo: https://github.com/PyCQA/flake8
43-
rev: 5.0.4
43+
rev: 6.0.0
4444
hooks:
4545
- id: flake8
4646
additional_dependencies:
47-
- flake8-bugbear==22.10.27
47+
- flake8-bugbear==23.1.20
4848
- flake8-comprehensions==3.10.1
4949
- flake8-pytest-style==1.6
5050
- flake8-spellcheck==0.28
51-
- flake8-unused-arguments==0.0.12
52-
- flake8-noqa==1.2.9
53-
- pep8-naming==0.13.2
51+
- flake8-unused-arguments==0.0.13
52+
- flake8-noqa==1.3
53+
- pep8-naming==0.13.3

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
build-backend = "hatchling.build"
3-
requires = ["hatchling>=1.11.1", "hatch-vcs>=0.2"]
3+
requires = ["hatchling>=1.12.2", "hatch-vcs>=0.3"]
44

55
[project]
66
name = "pytest-env"
@@ -12,8 +12,8 @@ urls.Homepage = "https://github.com/pytest-dev/pytest-env"
1212
urls.Source = "https://github.com/pytest-dev/pytest-env"
1313
urls.Tracker = "https://github.com/pytest-dev/pytest-env/issues"
1414
requires-python = ">=3.7"
15-
dependencies = ["pytest>=7.2"]
16-
optional-dependencies.test = ["coverage>=6.5", "pytest-mock>=3.10"]
15+
dependencies = ["pytest>=7.2.1"]
16+
optional-dependencies.test = ["coverage>=7.1", "pytest-mock>=3.10"]
1717
keywords = ["pytest", "env"]
1818
classifiers = [
1919
"Development Status :: 5 - Production/Stable",

src/pytest_env/plugin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ def pytest_load_initial_conftests(
1818
) -> None:
1919
"""Load environment variables from configuration files."""
2020
for line in early_config.getini("env"):
21-
2221
# INI lines e.g. D:R:NAME=VAL has two flags (R and D), NAME key, and VAL value
2322
parts = line.partition("=")
2423
ini_key_parts = parts[0].split(":")

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ passenv =
3636
PROGRAMDATA
3737
skip_install = true
3838
deps =
39-
pre-commit>=2.20
39+
pre-commit>=3.0.4
4040
commands =
4141
pre-commit run --all-files --show-diff-on-failure
4242

@@ -45,7 +45,7 @@ description = run type check on code base
4545
setenv =
4646
{tty:MYPY_FORCE_COLOR = 1}
4747
deps =
48-
mypy==0.982
48+
mypy==0.991
4949
commands =
5050
mypy --strict src
5151
mypy --strict tests
@@ -54,8 +54,8 @@ commands =
5454
description = check that the long description is valid
5555
skip_install = true
5656
deps =
57-
build[virtualenv]>=0.9
58-
twine>=4.0.1
57+
build[virtualenv]>=0.10
58+
twine>=4.0.2
5959
changedir = {toxinidir}
6060
commands =
6161
python -m build -o {envtmpdir} .

0 commit comments

Comments
 (0)