1
0
Fork 0

Merging upstream version 2.5.2.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-12 22:01:22 +01:00
parent 3b753784e5
commit 71a79111f0
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
3 changed files with 6 additions and 5 deletions

View file

@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
@ -14,7 +14,7 @@ repos:
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.1.0
rev: v3.8.1
hooks:
- id: reorder-python-imports
args: [--py37-plus, --add-import, 'from __future__ import annotations']
@ -24,7 +24,7 @@ repos:
- id: add-trailing-comma
args: [--py36-plus]
- repo: https://github.com/asottile/pyupgrade
rev: v2.32.1
rev: v2.37.1
hooks:
- id: pyupgrade
args: [--py37-plus]
@ -38,6 +38,6 @@ repos:
- id: flake8
exclude: ^identify/vendor/licenses\.py$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.950
rev: v0.961
hooks:
- id: mypy

View file

@ -52,6 +52,7 @@ EXTENSIONS = {
'eyaml': {'text', 'yaml'},
'feature': {'text', 'gherkin'},
'fish': {'text', 'fish'},
'fits': {'binary', 'fits'},
'gd': {'text', 'gdscript'},
'gemspec': {'text', 'ruby'},
'geojson': {'text', 'geojson', 'json'},

View file

@ -1,6 +1,6 @@
[metadata]
name = identify
version = 2.5.1
version = 2.5.2
description = File identification library for Python
long_description = file: README.md
long_description_content_type = text/markdown