summaryrefslogtreecommitdiffstats
path: root/identify
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-11-03 08:06:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-11-03 08:06:55 +0000
commit545be95911a823a5422121415625e962d4e92210 (patch)
treec546d9ca8989b35350255bc95600cead1c31db4e /identify
parentReleasing debian version 2.3.0-1. (diff)
downloadidentify-545be95911a823a5422121415625e962d4e92210.tar.xz
identify-545be95911a823a5422121415625e962d4e92210.zip
Merging upstream version 2.3.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'identify')
-rw-r--r--identify/cli.py2
-rw-r--r--identify/extensions.py2
-rw-r--r--identify/interpreters.py1
3 files changed, 4 insertions, 1 deletions
diff --git a/identify/cli.py b/identify/cli.py
index 28e6155..c61ebe4 100644
--- a/identify/cli.py
+++ b/identify/cli.py
@@ -31,4 +31,4 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
if __name__ == '__main__':
- exit(main())
+ raise SystemExit(main())
diff --git a/identify/extensions.py b/identify/extensions.py
index 67d601a..17f86a7 100644
--- a/identify/extensions.py
+++ b/identify/extensions.py
@@ -137,6 +137,7 @@ EXTENSIONS = {
'png': {'binary', 'image', 'png'},
'po': {'text', 'pofile'},
'pp': {'text', 'puppet'},
+ 'prisma': {'text', 'prisma'},
'properties': {'text', 'java-properties'},
'proto': {'text', 'proto'},
'ps1': {'text', 'powershell'},
@@ -172,6 +173,7 @@ EXTENSIONS = {
'ss': {'text', 'scheme'},
'styl': {'text', 'stylus'},
'sv': {'text', 'system-verilog'},
+ 'svelte': {'text', 'svelte'},
'svg': {'text', 'image', 'svg', 'xml'},
'svh': {'text', 'system-verilog'},
'swf': {'binary', 'swf'},
diff --git a/identify/interpreters.py b/identify/interpreters.py
index dabf36c..fde9e25 100644
--- a/identify/interpreters.py
+++ b/identify/interpreters.py
@@ -3,6 +3,7 @@ INTERPRETERS = {
'awk': {'awk'},
'bash': {'shell', 'bash'},
'bats': {'shell', 'bash', 'bats'},
+ 'cbsd': {'shell', 'cbsd'},
'csh': {'shell', 'csh'},
'dash': {'shell', 'dash'},
'expect': {'expect'},