Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #165

Merged
merged 2 commits into from Oct 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -12,7 +12,7 @@ repos:
- id: codespell

- repo: https://github.com/asottile/reorder_python_imports
rev: v3.8.3
rev: v3.8.4
hooks:
- id: reorder-python-imports
args:
Expand All @@ -24,7 +24,7 @@ repos:
- id: flake8

- repo: https://github.com/asottile/pyupgrade
rev: v3.0.0
rev: v3.1.0
hooks:
- id: pyupgrade
args:
Expand Down
2 changes: 1 addition & 1 deletion test_autoflake.py
Expand Up @@ -3113,7 +3113,7 @@ def create_dir(self, path):
def create_file(self, path, contents=""):
effective_path = self.effective_path(path)
self.create_dir(os.path.split(path)[0])
with open(effective_path, "wt") as f:
with open(effective_path, "w") as f:
f.write(contents)

def test_no_config_file(self):
Expand Down