From 39400c872324d7da8da13a108030729d0692943f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Jun 2020 11:08:55 +0200 Subject: Merging upstream version 1.4.19. Signed-off-by: Daniel Baumann --- identify/extensions.py | 8 ++++++++ identify/interpreters.py | 1 + 2 files changed, 9 insertions(+) (limited to 'identify') 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'}, -- cgit v1.2.3