1
0
Fork 0

Merging upstream version 2.4.8.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-12 21:56:40 +01:00
parent 5dfced2292
commit f1594a26c1
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
3 changed files with 6 additions and 2 deletions

View file

@ -25,7 +25,7 @@ repos:
hooks:
- id: autopep8
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.6.0
rev: v2.7.1
hooks:
- id: reorder-python-imports
args: [--py37-plus, --add-import, 'from __future__ import annotations']

View file

@ -18,6 +18,7 @@ EXTENSIONS = {
'cc': {'text', 'c++'},
'cfg': {'text'},
'chs': {'text', 'c2hs'},
'cjs': {'text', 'javascript'},
'clj': {'text', 'clojure'},
'cljc': {'text', 'clojure'},
'cljs': {'text', 'clojure', 'clojurescript'},
@ -66,6 +67,7 @@ EXTENSIONS = {
'gypi': {'text', 'gyp', 'python'},
'gz': {'binary', 'gzip'},
'h': {'text', 'header', 'c', 'c++'},
'hbs': {'text', 'handlebars'},
'hcl': {'text', 'hcl'},
'hh': {'text', 'header', 'c++'},
'hpp': {'text', 'header', 'c++'},
@ -108,6 +110,7 @@ EXTENSIONS = {
'lhs': {'text', 'literate-haskell'},
'libsonnet': {'text', 'jsonnet'},
'lidr': {'text', 'idris'},
'liquid': {'text', 'liquid'},
'lr': {'text', 'lektor'},
'lua': {'text', 'lua'},
'm': {'text', 'c', 'objective-c'},
@ -129,6 +132,7 @@ EXTENSIONS = {
'nims': {'text', 'nim'},
'nimble': {'text', 'nimble'},
'nix': {'text', 'nix'},
'njk': {'text', 'nunjucks'},
'otf': {'binary', 'otf'},
'p12': {'binary', 'p12'},
'patch': {'text', 'diff'},

View file

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