1
0
Fork 0

Merging upstream version 2.4.12.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-12 21:59:28 +01:00
parent be4b23c9ea
commit e949e38651
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4 changed files with 5 additions and 8 deletions

3
.gitignore vendored
View file

@ -1,8 +1,5 @@
*.egg-info *.egg-info
*.py[co] *.py[co]
/.coverage /.coverage
/.pytest_cache
/.tox /.tox
/coverage-html
/dist /dist
/venv

View file

@ -25,7 +25,7 @@ repos:
hooks: hooks:
- id: autopep8 - id: autopep8
- repo: https://github.com/asottile/reorder_python_imports - repo: https://github.com/asottile/reorder_python_imports
rev: v2.7.1 rev: v3.0.1
hooks: hooks:
- 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']
@ -35,11 +35,11 @@ repos:
- 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: v2.31.0 rev: v2.31.1
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--py37-plus] args: [--py37-plus]
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931 rev: v0.940
hooks: hooks:
- id: mypy - id: mypy

View file

@ -114,7 +114,7 @@ EXTENSIONS = {
'liquid': {'text', 'liquid'}, 'liquid': {'text', 'liquid'},
'lr': {'text', 'lektor'}, 'lr': {'text', 'lektor'},
'lua': {'text', 'lua'}, 'lua': {'text', 'lua'},
'm': {'text', 'c', 'objective-c'}, 'm': {'text', 'objective-c'},
'manifest': {'text', 'manifest'}, 'manifest': {'text', 'manifest'},
'map': {'text', 'map'}, 'map': {'text', 'map'},
'markdown': {'text', 'markdown'}, 'markdown': {'text', 'markdown'},

View file

@ -1,6 +1,6 @@
[metadata] [metadata]
name = identify name = identify
version = 2.4.11 version = 2.4.12
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