Skip to content

Commit be500c2

Browse files
Merge pull request #79 from jupyter-server/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 7d67a75 + 624b447 commit be500c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
args: [--profile=black]
3030

3131
- repo: https://github.com/asottile/pyupgrade
32-
rev: v3.0.0
32+
rev: v3.1.0
3333
hooks:
3434
- id: pyupgrade
3535
args: [--py37-plus]

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def update_json_file(path: Path, d: dict):
1515
with open(path, "rb") as f:
1616
package_json = json.load(f)
1717
package_json.update(d)
18-
with open(path, "wt") as f:
18+
with open(path, "w") as f:
1919
json.dump(package_json, f, indent=2)
2020

2121

0 commit comments

Comments
 (0)