Skip to content

Commit

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

updates:
- [github.com/asottile/pyupgrade: v3.0.0 → v3.1.0](asottile/pyupgrade@v3.0.0...v3.1.0)

* [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 Oct 20, 2022
1 parent c79e033 commit 2359d27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ repos:
# catch git merge/rebase problems
- id: check-merge-conflict
- repo: https://github.com/asottile/pyupgrade
rev: v3.0.0
rev: v3.1.0
hooks:
- id: pyupgrade
args: ["--py37-plus"]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_activate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,7 @@ def test_unicode(self):
with env_vars({prompt: prompt_value}):
# use a file as output stream to simulate PY2 default stdout
with tempdir() as td:
with open(join(td, "stdout"), "wt") as stdout:
with open(join(td, "stdout"), "w") as stdout:
with captured(stdout=stdout) as c:
rc = main_sourced(shell, *activate_args, self.prefix)

Expand Down

0 comments on commit 2359d27

Please sign in to comment.