Skip to content

Commit

Permalink
Bump deps and tools (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborbernat authored Feb 6, 2023
1 parent b451535 commit ebe0ae1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 21 deletions.
26 changes: 13 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-ast
- id: check-builtin-literals
Expand All @@ -12,42 +12,42 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v3.0.0
rev: v3.3.1
hooks:
- id: pyupgrade
args: [ "--py37-plus" ]
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 23.1.0
hooks:
- id: black
args: [ --safe ]
- repo: https://github.com/asottile/blacken-docs
rev: v1.12.1
rev: 1.13.0
hooks:
- id: blacken-docs
additional_dependencies: [ black==22.10 ]
additional_dependencies: [ black==23.1 ]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
rev: v1.10.0
hooks:
- id: rst-backticks
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: "0.5.2"
rev: "0.6.1"
hooks:
- id: tox-ini-fmt
args: [ "-p", "fix" ]
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==22.10.27
- flake8-bugbear==23.1.20
- flake8-comprehensions==3.10.1
- flake8-pytest-style==1.6
- flake8-spellcheck==0.28
- flake8-unused-arguments==0.0.12
- flake8-noqa==1.2.9
- pep8-naming==0.13.2
- flake8-unused-arguments==0.0.13
- flake8-noqa==1.3
- pep8-naming==0.13.3
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling>=1.11.1", "hatch-vcs>=0.2"]
requires = ["hatchling>=1.12.2", "hatch-vcs>=0.3"]

[project]
name = "pytest-env"
Expand All @@ -12,8 +12,8 @@ urls.Homepage = "https://github.com/pytest-dev/pytest-env"
urls.Source = "https://github.com/pytest-dev/pytest-env"
urls.Tracker = "https://github.com/pytest-dev/pytest-env/issues"
requires-python = ">=3.7"
dependencies = ["pytest>=7.2"]
optional-dependencies.test = ["coverage>=6.5", "pytest-mock>=3.10"]
dependencies = ["pytest>=7.2.1"]
optional-dependencies.test = ["coverage>=7.1", "pytest-mock>=3.10"]
keywords = ["pytest", "env"]
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand Down
1 change: 0 additions & 1 deletion src/pytest_env/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def pytest_load_initial_conftests(
) -> None:
"""Load environment variables from configuration files."""
for line in early_config.getini("env"):

# INI lines e.g. D:R:NAME=VAL has two flags (R and D), NAME key, and VAL value
parts = line.partition("=")
ini_key_parts = parts[0].split(":")
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ passenv =
PROGRAMDATA
skip_install = true
deps =
pre-commit>=2.20
pre-commit>=3.0.4
commands =
pre-commit run --all-files --show-diff-on-failure

Expand All @@ -45,7 +45,7 @@ description = run type check on code base
setenv =
{tty:MYPY_FORCE_COLOR = 1}
deps =
mypy==0.982
mypy==0.991
commands =
mypy --strict src
mypy --strict tests
Expand All @@ -54,8 +54,8 @@ commands =
description = check that the long description is valid
skip_install = true
deps =
build[virtualenv]>=0.9
twine>=4.0.1
build[virtualenv]>=0.10
twine>=4.0.2
changedir = {toxinidir}
commands =
python -m build -o {envtmpdir} .
Expand Down

0 comments on commit ebe0ae1

Please sign in to comment.