Merging upstream version 2.5.19.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
d81c436bd7
commit
6252ba5af4
3 changed files with 5 additions and 3 deletions
|
@ -29,7 +29,7 @@ repos:
|
|||
- id: pyupgrade
|
||||
args: [--py37-plus]
|
||||
- repo: https://github.com/pre-commit/mirrors-autopep8
|
||||
rev: v2.0.1
|
||||
rev: v2.0.2
|
||||
hooks:
|
||||
- id: autopep8
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
|
@ -38,6 +38,6 @@ repos:
|
|||
- id: flake8
|
||||
exclude: ^identify/vendor/licenses\.py$
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.991
|
||||
rev: v1.0.1
|
||||
hooks:
|
||||
- id: mypy
|
||||
|
|
|
@ -171,6 +171,7 @@ EXTENSIONS = {
|
|||
'pm': {'text', 'perl'},
|
||||
'png': {'binary', 'image', 'png'},
|
||||
'po': {'text', 'pofile'},
|
||||
'pom': {'pom', 'text', 'xml'},
|
||||
'pp': {'text', 'puppet'},
|
||||
'prisma': {'text', 'prisma'},
|
||||
'properties': {'text', 'java-properties'},
|
||||
|
@ -345,6 +346,7 @@ NAMES = {
|
|||
'Pipfile.lock': EXTENSIONS['json'],
|
||||
'PKGBUILD': {'text', 'bash', 'pkgbuild', 'alpm'},
|
||||
'poetry.lock': EXTENSIONS['toml'],
|
||||
'pom.xml': EXTENSIONS['pom'],
|
||||
'pylintrc': EXTENSIONS['ini'] | {'pylintrc'},
|
||||
'README': EXTENSIONS['txt'],
|
||||
'Rakefile': EXTENSIONS['rb'],
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[metadata]
|
||||
name = identify
|
||||
version = 2.5.18
|
||||
version = 2.5.19
|
||||
description = File identification library for Python
|
||||
long_description = file: README.md
|
||||
long_description_content_type = text/markdown
|
||||
|
|
Loading…
Add table
Reference in a new issue