summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-07-22 18:22:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-07-22 18:22:13 +0000
commit833a5d022292d066c3e96828e27259a36fbca86a (patch)
treea56bf59f7187983baed9584f548ac8ecedcce391
parentReleasing debian version 1.4.21-1. (diff)
downloadidentify-833a5d022292d066c3e96828e27259a36fbca86a.tar.xz
identify-833a5d022292d066c3e96828e27259a36fbca86a.zip
Merging upstream version 1.4.25.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--identify/extensions.py10
-rw-r--r--setup.cfg2
2 files changed, 11 insertions, 1 deletions
diff --git a/identify/extensions.py b/identify/extensions.py
index 4d50fcd..e62000e 100644
--- a/identify/extensions.py
+++ b/identify/extensions.py
@@ -16,6 +16,7 @@ EXTENSIONS = {
'cc': {'text', 'c++'},
'cu': {'text', 'cuda'},
'cfg': {'text'},
+ 'chs': {'text', 'c2hs'},
'clj': {'text', 'clojure'},
'cljc': {'text', 'clojure'},
'cljs': {'text', 'clojure', 'clojurescript'},
@@ -58,6 +59,7 @@ EXTENSIONS = {
'gz': {'binary', 'gzip'},
'h': {'text', 'header', 'c', 'c++'},
'hpp': {'text', 'header', 'c++'},
+ 'hs': {'text', 'haskell'},
'htm': {'text', 'html'},
'html': {'text', 'html'},
'hxx': {'text', 'header', 'c++'},
@@ -86,6 +88,7 @@ EXTENSIONS = {
'kml': {'text', 'kml', 'xml'},
'kt': {'text', 'kotlin'},
'less': {'text', 'less'},
+ 'lhs': {'text', 'literate-haskell'},
'lidr': {'text', 'idris'},
'lua': {'text', 'lua'},
'm': {'text', 'c', 'objective-c'},
@@ -127,6 +130,8 @@ EXTENSIONS = {
'py': {'text', 'python'},
'pyi': {'text', 'pyi'},
'pyx': {'text', 'cython'},
+ 'pyz': {'binary', 'pyz'},
+ 'pyzw': {'binary', 'pyz'},
'pxd': {'text', 'cython'},
'pxi': {'text', 'cython'},
'r': {'text', 'r'},
@@ -147,7 +152,9 @@ EXTENSIONS = {
'ss': {'text', 'scheme'},
'styl': {'text', 'stylus'},
'sql': {'text', 'sql'},
+ 'sv': {'text', 'system-verilog'},
'svg': {'text', 'image', 'svg'},
+ 'svh': {'text', 'system-verilog'},
'swf': {'binary', 'swf'},
'swift': {'text', 'swift'},
'swiftdeps': {'text', 'swiftdeps'},
@@ -163,7 +170,10 @@ EXTENSIONS = {
'tsx': {'text', 'tsx'},
'ttf': {'binary', 'ttf'},
'txt': {'text', 'plain-text'},
+ 'v': {'text', 'verilog'},
'vdx': {'text', 'vdx'},
+ 'vh': {'text', 'verilog'},
+ 'vhd': {'text', 'vhdl'},
'vim': {'text', 'vim'},
'vue': {'text', 'vue'},
'war': {'binary', 'zip', 'jar'},
diff --git a/setup.cfg b/setup.cfg
index 69f6496..63a8be8 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = identify
-version = 1.4.21
+version = 1.4.25
description = File identification library for Python
long_description = file: README.md
long_description_content_type = text/markdown