1
0
Fork 0

Merging upstream version 2.5.31.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-13 05:36:58 +01:00
parent 1b3673d43d
commit 497bcdefd3
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
3 changed files with 7 additions and 6 deletions

View file

@ -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.4.0 rev: v4.5.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
@ -10,11 +10,11 @@ repos:
- id: name-tests-test - id: name-tests-test
- id: requirements-txt-fixer - id: requirements-txt-fixer
- repo: https://github.com/asottile/setup-cfg-fmt - repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.4.0 rev: v2.5.0
hooks: hooks:
- id: setup-cfg-fmt - id: setup-cfg-fmt
- repo: https://github.com/asottile/reorder-python-imports - repo: https://github.com/asottile/reorder-python-imports
rev: v3.11.0 rev: v3.12.0
hooks: hooks:
- id: reorder-python-imports - id: reorder-python-imports
args: [--py38-plus, --add-import, 'from __future__ import annotations'] args: [--py38-plus, --add-import, 'from __future__ import annotations']
@ -23,7 +23,7 @@ repos:
hooks: hooks:
- id: add-trailing-comma - id: add-trailing-comma
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v3.13.0 rev: v3.15.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--py38-plus] args: [--py38-plus]
@ -37,6 +37,6 @@ repos:
- 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: v1.5.1 rev: v1.6.1
hooks: hooks:
- id: mypy - id: mypy

View file

@ -269,6 +269,7 @@ EXTENSIONS = {
'woff2': {'binary', 'woff2'}, 'woff2': {'binary', 'woff2'},
'wsgi': {'text', 'wsgi', 'python'}, 'wsgi': {'text', 'wsgi', 'python'},
'xhtml': {'text', 'xml', 'html', 'xhtml'}, 'xhtml': {'text', 'xml', 'html', 'xhtml'},
'xacro': {'text', 'xml', 'urdf', 'xacro'},
'xml': {'text', 'xml'}, 'xml': {'text', 'xml'},
'xq': {'text', 'xquery'}, 'xq': {'text', 'xquery'},
'xql': {'text', 'xquery'}, 'xql': {'text', 'xquery'},

View file

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