1
0
Fork 0

Adding upstream version 2.5.8.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-12 22:04:14 +01:00
parent be4dcee9a6
commit 699d315bc0
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
3 changed files with 8 additions and 5 deletions

View file

@ -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.0.0 rev: v2.1.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.8.3 rev: v3.8.5
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']
@ -24,7 +24,7 @@ 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.38.2 rev: v3.1.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--py37-plus] args: [--py37-plus]
@ -38,6 +38,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: v0.971 rev: v0.982
hooks: hooks:
- id: mypy - id: mypy

View file

@ -36,6 +36,7 @@ EXTENSIONS = {
'css': {'text', 'css'}, 'css': {'text', 'css'},
'csv': {'text', 'csv'}, 'csv': {'text', 'csv'},
'cu': {'text', 'cuda'}, 'cu': {'text', 'cuda'},
'cue': {'text', 'cue'},
'cuh': {'text', 'cuda'}, 'cuh': {'text', 'cuda'},
'cxx': {'text', 'c++'}, 'cxx': {'text', 'c++'},
'cylc': {'text', 'cylc'}, 'cylc': {'text', 'cylc'},
@ -106,6 +107,7 @@ EXTENSIONS = {
'jpg': {'binary', 'image', 'jpeg'}, 'jpg': {'binary', 'image', 'jpeg'},
'js': {'text', 'javascript'}, 'js': {'text', 'javascript'},
'json': {'text', 'json'}, 'json': {'text', 'json'},
'jsonld': {'text', 'json', 'jsonld'},
'jsonnet': {'text', 'jsonnet'}, 'jsonnet': {'text', 'jsonnet'},
'json5': {'text', 'json5'}, 'json5': {'text', 'json5'},
'jsx': {'text', 'jsx'}, 'jsx': {'text', 'jsx'},
@ -251,6 +253,7 @@ EXTENSIONS = {
'xsd': {'text', 'xml', 'xsd'}, 'xsd': {'text', 'xml', 'xsd'},
'xsl': {'text', 'xml', 'xsl'}, 'xsl': {'text', 'xml', 'xsl'},
'yaml': {'text', 'yaml'}, 'yaml': {'text', 'yaml'},
'yamlld': {'text', 'yaml', 'yamlld'},
'yang': {'text', 'yang'}, 'yang': {'text', 'yang'},
'yin': {'text', 'xml', 'yin'}, 'yin': {'text', 'xml', 'yin'},
'yml': {'text', 'yaml'}, 'yml': {'text', 'yaml'},

View file

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