summaryrefslogtreecommitdiffstats
path: root/identify
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-06-14 09:08:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-06-14 09:08:55 +0000
commit39400c872324d7da8da13a108030729d0692943f (patch)
treeaa5703d8711ea0e07415cbdad5c5757c10551a06 /identify
parentReleasing debian version 1.4.15-1. (diff)
downloadidentify-39400c872324d7da8da13a108030729d0692943f.tar.xz
identify-39400c872324d7da8da13a108030729d0692943f.zip
Merging upstream version 1.4.19.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'identify')
-rw-r--r--identify/extensions.py8
-rw-r--r--identify/interpreters.py1
2 files changed, 9 insertions, 0 deletions
diff --git a/identify/extensions.py b/identify/extensions.py
index cd4db92..3f09b89 100644
--- a/identify/extensions.py
+++ b/identify/extensions.py
@@ -16,6 +16,9 @@ EXTENSIONS = {
'cc': {'text', 'c++'},
'cu': {'text', 'cuda'},
'cfg': {'text'},
+ 'clj': {'text', 'clojure'},
+ 'cljc': {'text', 'clojure'},
+ 'cljs': {'text', 'clojure', 'clojurescript'},
'cmake': {'text', 'cmake'},
'cnf': {'text'},
'coffee': {'text', 'coffee'},
@@ -23,6 +26,7 @@ EXTENSIONS = {
'cpp': {'text', 'c++'},
'crt': {'text', 'pem'},
'cs': {'text', 'c#'},
+ 'csh': {'text', 'shell', 'csh'},
'cson': {'text', 'cson'},
'css': {'text', 'css'},
'csv': {'text', 'csv'},
@@ -31,6 +35,7 @@ EXTENSIONS = {
'def': {'text', 'def'},
'dtd': {'text', 'dtd'},
'ear': {'binary', 'zip', 'jar'},
+ 'edn': {'text', 'clojure', 'edn'},
'ejs': {'text', 'ejs'},
'eot': {'binary', 'eot'},
'eps': {'binary', 'eps'},
@@ -44,6 +49,7 @@ EXTENSIONS = {
'go': {'text', 'go'},
'gotmpl': {'text', 'gotmpl'},
'gpx': {'text', 'gpx', 'xml'},
+ 'graphql': {'text', 'graphql'},
'gradle': {'text', 'groovy'},
'groovy': {'text', 'groovy'},
'gyb': {'text', 'gyb'},
@@ -150,6 +156,7 @@ EXTENSIONS = {
'tiff': {'binary', 'image', 'tiff'},
'toml': {'text', 'toml'},
'tf': {'text', 'terraform'},
+ 'tfvars': {'text', 'terraform'},
'ts': {'text', 'ts'},
'tsx': {'text', 'tsx'},
'ttf': {'binary', 'ttf'},
@@ -192,6 +199,7 @@ NAMES = {
'.bash_profile': EXTENSIONS['bash'],
'.bowerrc': EXTENSIONS['json'] | {'bowerrc'},
'.coveragerc': EXTENSIONS['ini'] | {'coveragerc'},
+ '.cshrc': EXTENSIONS['csh'],
'.dockerignore': {'text', 'dockerignore'},
'.editorconfig': {'text', 'editorconfig'},
'.gitconfig': EXTENSIONS['ini'] | {'gitconfig'},
diff --git a/identify/interpreters.py b/identify/interpreters.py
index 96c1d92..bcffb5a 100644
--- a/identify/interpreters.py
+++ b/identify/interpreters.py
@@ -4,6 +4,7 @@ from __future__ import unicode_literals
INTERPRETERS = {
'bash': {'shell', 'bash'},
+ 'csh': {'shell', 'csh'},
'dash': {'shell', 'dash'},
'node': {'javascript'},
'nodejs': {'javascript'},