Skip to content

Commit

Permalink
Merge pull request #1773 from pre-commit/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
asottile committed Jan 25, 2021
2 parents dbd69af + d258650 commit 7727f87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -35,7 +35,7 @@ repos:
- id: reorder-python-imports
args: [--py3-plus]
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.0.2
rev: v2.1.0
hooks:
- id: add-trailing-comma
args: [--py36-plus]
Expand All @@ -44,7 +44,7 @@ repos:
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.790
rev: v0.800
hooks:
- id: mypy
exclude: ^testing/resources/
Expand Down
4 changes: 2 additions & 2 deletions pre_commit/file_lock.py
@@ -1,11 +1,11 @@
import contextlib
import errno
import os
import sys
from typing import Callable
from typing import Generator


if os.name == 'nt': # pragma: no cover (windows)
if sys.platform == 'win32': # pragma: no cover (windows)
import msvcrt

# https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/locking
Expand Down

0 comments on commit 7727f87

Please sign in to comment.