diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-07-22 18:22:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-07-22 18:22:07 +0000 |
commit | 5e18a0633177e423d253cdafa699a72c6b9876d3 (patch) | |
tree | e4063b9aff7c9da08ef4979e94f2d14393949ba7 | |
parent | Adding upstream version 1.4.21. (diff) | |
download | identify-5e18a0633177e423d253cdafa699a72c6b9876d3.tar.xz identify-5e18a0633177e423d253cdafa699a72c6b9876d3.zip |
Adding upstream version 1.4.25.upstream/1.4.25
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | identify/extensions.py | 10 | ||||
-rw-r--r-- | setup.cfg | 2 |
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'}, @@ -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 |