Skip to content

Commit 11fc3e5

Browse files
committed
Run pre-commit autoupdate
Committed via https://github.com/asottile/all-repos
1 parent abc444d commit 11fc3e5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/asottile/pyupgrade
3-
rev: v1.26.0
3+
rev: v2.4.1
44
hooks:
55
- id: pyupgrade
66
args: ["--py3-plus"]
@@ -10,12 +10,12 @@ repos:
1010
- id: black
1111
language_version: python3
1212
- repo: https://gitlab.com/pycqa/flake8
13-
rev: 3.7.9
13+
rev: 3.8.1
1414
hooks:
1515
- id: flake8
1616
additional_dependencies: ["flake8-bugbear==20.1.4"]
1717
- repo: https://github.com/asottile/blacken-docs
18-
rev: v1.5.0-1
18+
rev: v1.7.0
1919
hooks:
2020
- id: blacken-docs
2121
additional_dependencies: [black==19.10b0]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
def find_version(fname):
1616
version = ""
17-
with open(fname, "r") as fp:
17+
with open(fname) as fp:
1818
reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]')
1919
for line in fp:
2020
m = reg.match(line)

0 commit comments

Comments
 (0)