Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#304)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- https://github.com/python/blackhttps://github.com/psf/black
- [github.com/psf/black: 22.10.0 → 23.12.0](psf/black@22.10.0...23.12.0)
- [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.7.1](pre-commit/mirrors-mypy@v1.6.1...v1.7.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Dec 20, 2023
1 parent 2184b8a commit 158ec53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ repos:
hooks:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/python/black
rev: 22.10.0
- repo: https://github.com/psf/black
rev: 23.12.0
hooks:
- id: black
language_version: python3
Expand All @@ -20,7 +20,7 @@ repos:
- id: blacken-docs
additional_dependencies: [black==22.10.0]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.1
rev: v1.7.1
hooks:
- id: mypy
additional_dependencies: ["marshmallow>=3,<4"]
2 changes: 0 additions & 2 deletions tests/test_environs.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,6 @@ def default_environ(self, set_env):
set_env({"APP_STR": "foo", "APP_NESTED_INT": "42"})

def test_failed_nested_prefixed(self, env):

# define repeated prefixed steps
def nested_prefixed(env, fail=False):
with env.prefixed("APP_"):
Expand All @@ -578,7 +577,6 @@ def nested_prefixed(env, fail=False):
nested_prefixed(env, fail=False)

def test_failed_dump_with_nested_prefixed(self, env):

# define repeated prefixed steps
def dump_with_nested_prefixed(env, fail=False):
with env.prefixed("APP_"):
Expand Down

0 comments on commit 158ec53

Please sign in to comment.