Skip to content

Commit

Permalink
Merge pull request #488 from nicknovitski/direnv
Browse files Browse the repository at this point in the history
feat: identify direnv files as Bash
  • Loading branch information
asottile authored Nov 25, 2024
2 parents 880ac27 + d2f995a commit 149074e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions identify/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@
'.csslintrc': EXTENSIONS['json'] | {'csslintrc'},
'.dockerignore': {'text', 'dockerignore'},
'.editorconfig': {'text', 'editorconfig'},
'.envrc': EXTENSIONS['bash'],
'.flake8': EXTENSIONS['ini'] | {'flake8'},
'.gitattributes': {'text', 'gitattributes'},
'.gitconfig': EXTENSIONS['ini'] | {'gitconfig'},
Expand Down Expand Up @@ -362,6 +363,7 @@
'copy.bara.sky': EXTENSIONS['bzl'],
'COPYING': EXTENSIONS['txt'],
'Dockerfile': {'text', 'dockerfile'},
'direnvrc': EXTENSIONS['bash'],
'Gemfile': EXTENSIONS['rb'],
'Gemfile.lock': {'text'},
'GNUmakefile': EXTENSIONS['mk'],
Expand Down

0 comments on commit 149074e

Please sign in to comment.