Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#165)
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
pre-commit-ci[bot] committed Oct 11, 2022
1 parent e5e6713 commit 496a50a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 496a50a

Please sign in to comment.