Skip to content

Commit 2323ac0

Browse files
authored
Merge pull request #529 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 75ade3b + 64d3fbd commit 2323ac0

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@ repos:
1313
- id: double-quote-string-fixer
1414
- id: requirements-txt-fixer
1515
- repo: https://gitlab.com/pycqa/flake8
16-
rev: 3.8.0
16+
rev: 3.8.4
1717
hooks:
1818
- id: flake8
1919
additional_dependencies: [flake8-typing-imports==1.7.0]
2020
- repo: https://github.com/pre-commit/mirrors-autopep8
21-
rev: v1.5.2
21+
rev: v1.5.4
2222
hooks:
2323
- id: autopep8
2424
- repo: https://github.com/pre-commit/pre-commit
25-
rev: v2.4.0
25+
rev: v2.8.2
2626
hooks:
2727
- id: validate_manifest
2828
- repo: https://github.com/asottile/reorder_python_imports
29-
rev: v2.3.0
29+
rev: v2.3.6
3030
hooks:
3131
- id: reorder-python-imports
3232
args: [--py3-plus]
3333
- repo: https://github.com/asottile/pyupgrade
34-
rev: v2.4.1
34+
rev: v2.7.4
3535
hooks:
3636
- id: pyupgrade
3737
args: [--py36-plus]
@@ -41,10 +41,10 @@ repos:
4141
- id: add-trailing-comma
4242
args: [--py36-plus]
4343
- repo: https://github.com/asottile/setup-cfg-fmt
44-
rev: v1.9.0
44+
rev: v1.15.1
4545
hooks:
4646
- id: setup-cfg-fmt
4747
- repo: https://github.com/pre-commit/mirrors-mypy
48-
rev: v0.770
48+
rev: v0.790
4949
hooks:
5050
- id: mypy

pre_commit_hooks/requirements_txt_fixer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def name(self) -> bytes:
3636

3737
return name[:m.start()]
3838

39-
def __lt__(self, requirement: 'Requirement') -> int:
39+
def __lt__(self, requirement: 'Requirement') -> bool:
4040
# \n means top of file comment, so always return True,
4141
# otherwise just do a string comparison with value.
4242
assert self.value is not None, self.value

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ classifiers =
1616
Programming Language :: Python :: 3.6
1717
Programming Language :: Python :: 3.7
1818
Programming Language :: Python :: 3.8
19+
Programming Language :: Python :: 3.9
1920
Programming Language :: Python :: Implementation :: CPython
2021
Programming Language :: Python :: Implementation :: PyPy
2122

0 commit comments

Comments
 (0)