1
0
Fork 0

Merging upstream version 2.5.19.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-13 05:28:25 +01:00
parent d81c436bd7
commit 6252ba5af4
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
3 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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'],

View file

@ -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