summaryrefslogtreecommitdiffstats
path: root/identify/interpreters.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-03-24 23:10:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-03-24 23:10:43 +0000
commit4bbf6c088551d74da917b0ad9c1e83366afa9a50 (patch)
treee50dbe6b1d31c17ef7129d50c6bc5480c5539690 /identify/interpreters.py
parentInitial commit. (diff)
downloadidentify-4bbf6c088551d74da917b0ad9c1e83366afa9a50.tar.xz
identify-4bbf6c088551d74da917b0ad9c1e83366afa9a50.zip
Adding upstream version 1.4.13.upstream/1.4.13
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'identify/interpreters.py')
-rw-r--r--identify/interpreters.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/identify/interpreters.py b/identify/interpreters.py
new file mode 100644
index 0000000..96c1d92
--- /dev/null
+++ b/identify/interpreters.py
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+from __future__ import absolute_import
+from __future__ import unicode_literals
+
+INTERPRETERS = {
+ 'bash': {'shell', 'bash'},
+ 'dash': {'shell', 'dash'},
+ 'node': {'javascript'},
+ 'nodejs': {'javascript'},
+ 'perl': {'perl'},
+ 'python': {'python'},
+ 'python2': {'python', 'python2'},
+ 'python3': {'python', 'python3'},
+ 'ruby': {'ruby'},
+ 'sh': {'shell', 'sh'},
+ 'tcsh': {'shell', 'tcsh'},
+ 'zsh': {'shell', 'zsh'},
+}