summaryrefslogtreecommitdiffstats
path: root/identify
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-23 08:08:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-23 08:08:45 +0000
commit312f02fec0a3ca0b396031131b5757aa7e53f215 (patch)
tree5c23a5773096703c2f7ab76d290bb694e5a8413e /identify
parentReleasing debian version 2.5.8-1. (diff)
downloadidentify-312f02fec0a3ca0b396031131b5757aa7e53f215.tar.xz
identify-312f02fec0a3ca0b396031131b5757aa7e53f215.zip
Merging upstream version 2.5.9.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'identify')
-rw-r--r--identify/extensions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/identify/extensions.py b/identify/extensions.py
index 87c91e7..e21b6ab 100644
--- a/identify/extensions.py
+++ b/identify/extensions.py
@@ -51,6 +51,7 @@ EXTENSIONS = {
'eot': {'binary', 'eot'},
'eps': {'binary', 'eps'},
'erb': {'text', 'erb'},
+ 'erl': {'text', 'erlang'},
'exe': {'binary'},
'eyaml': {'text', 'yaml'},
'f03': {'text', 'fortran'},
@@ -79,6 +80,7 @@ EXTENSIONS = {
'hcl': {'text', 'hcl'},
'hh': {'text', 'header', 'c++'},
'hpp': {'text', 'header', 'c++'},
+ 'hrl': {'text', 'erlang'},
'hs': {'text', 'haskell'},
'htm': {'text', 'html'},
'html': {'text', 'html'},
@@ -333,7 +335,10 @@ NAMES = {
'pylintrc': EXTENSIONS['ini'] | {'pylintrc'},
'README': EXTENSIONS['txt'],
'Rakefile': EXTENSIONS['rb'],
+ 'rebar.config': EXTENSIONS['erl'],
'setup.cfg': EXTENSIONS['ini'],
+ 'sys.config': EXTENSIONS['erl'],
+ 'sys.config.src': EXTENSIONS['erl'],
'WORKSPACE': EXTENSIONS['bzl'],
'wscript': EXTENSIONS['py'],
}