Skip to content

Commit 496a50a

Browse files
[pre-commit.ci] pre-commit autoupdate (#165)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/reorder_python_imports: v3.8.3 → v3.8.4](asottile/reorder-python-imports@v3.8.3...v3.8.4) - [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>
1 parent e5e6713 commit 496a50a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: codespell
1313

1414
- repo: https://github.com/asottile/reorder_python_imports
15-
rev: v3.8.3
15+
rev: v3.8.4
1616
hooks:
1717
- id: reorder-python-imports
1818
args:
@@ -24,7 +24,7 @@ repos:
2424
- id: flake8
2525

2626
- repo: https://github.com/asottile/pyupgrade
27-
rev: v3.0.0
27+
rev: v3.1.0
2828
hooks:
2929
- id: pyupgrade
3030
args:

test_autoflake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3113,7 +3113,7 @@ def create_dir(self, path):
31133113
def create_file(self, path, contents=""):
31143114
effective_path = self.effective_path(path)
31153115
self.create_dir(os.path.split(path)[0])
3116-
with open(effective_path, "wt") as f:
3116+
with open(effective_path, "w") as f:
31173117
f.write(contents)
31183118

31193119
def test_no_config_file(self):

0 commit comments

Comments
 (0)