Merging upstream version 2.5.11.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
28198bc144
commit
1860fcb092
3 changed files with 8 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.3.0
|
rev: v4.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
@ -19,12 +19,12 @@ repos:
|
||||||
- id: reorder-python-imports
|
- id: reorder-python-imports
|
||||||
args: [--py37-plus, --add-import, 'from __future__ import annotations']
|
args: [--py37-plus, --add-import, 'from __future__ import annotations']
|
||||||
- repo: https://github.com/asottile/add-trailing-comma
|
- repo: https://github.com/asottile/add-trailing-comma
|
||||||
rev: v2.3.0
|
rev: v2.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: add-trailing-comma
|
- id: add-trailing-comma
|
||||||
args: [--py36-plus]
|
args: [--py36-plus]
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.2.2
|
rev: v3.3.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py37-plus]
|
args: [--py37-plus]
|
||||||
|
@ -33,11 +33,11 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: autopep8
|
- id: autopep8
|
||||||
- repo: https://github.com/PyCQA/flake8
|
- repo: https://github.com/PyCQA/flake8
|
||||||
rev: 5.0.4
|
rev: 6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
exclude: ^identify/vendor/licenses\.py$
|
exclude: ^identify/vendor/licenses\.py$
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v0.990
|
rev: v0.991
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
|
|
|
@ -127,6 +127,7 @@ EXTENSIONS = {
|
||||||
'lr': {'text', 'lektor'},
|
'lr': {'text', 'lektor'},
|
||||||
'lua': {'text', 'lua'},
|
'lua': {'text', 'lua'},
|
||||||
'm': {'text', 'objective-c'},
|
'm': {'text', 'objective-c'},
|
||||||
|
'make': {'text', 'makefile'},
|
||||||
'manifest': {'text', 'manifest'},
|
'manifest': {'text', 'manifest'},
|
||||||
'map': {'text', 'map'},
|
'map': {'text', 'map'},
|
||||||
'markdown': {'text', 'markdown'},
|
'markdown': {'text', 'markdown'},
|
||||||
|
@ -267,6 +268,7 @@ EXTENSIONS = {
|
||||||
}
|
}
|
||||||
EXTENSIONS_NEED_BINARY_CHECK = {
|
EXTENSIONS_NEED_BINARY_CHECK = {
|
||||||
'plist': {'plist'},
|
'plist': {'plist'},
|
||||||
|
'ppm': {'image', 'ppm'},
|
||||||
}
|
}
|
||||||
|
|
||||||
NAMES = {
|
NAMES = {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = identify
|
name = identify
|
||||||
version = 2.5.9
|
version = 2.5.11
|
||||||
description = File identification library for Python
|
description = File identification library for Python
|
||||||
long_description = file: README.md
|
long_description = file: README.md
|
||||||
long_description_content_type = text/markdown
|
long_description_content_type = text/markdown
|
||||||
|
|
Loading…
Add table
Reference in a new issue