summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.pre-commit-config.yaml4
-rw-r--r--identify/extensions.py5
-rw-r--r--setup.cfg2
3 files changed, 8 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index bb59eb7..4d952e1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -21,7 +21,7 @@ repos:
exclude: ^identify/vendor/licenses\.py$
additional_dependencies: [flake8-typing-imports==1.10.1]
- repo: https://github.com/pre-commit/mirrors-autopep8
- rev: v1.5.5
+ rev: v1.5.6
hooks:
- id: autopep8
- repo: https://github.com/asottile/reorder_python_imports
@@ -35,7 +35,7 @@ repos:
- id: add-trailing-comma
args: [--py36-plus]
- repo: https://github.com/asottile/pyupgrade
- rev: v2.10.0
+ rev: v2.11.0
hooks:
- id: pyupgrade
args: [--py36-plus]
diff --git a/identify/extensions.py b/identify/extensions.py
index d5a1627..0fc0d8f 100644
--- a/identify/extensions.py
+++ b/identify/extensions.py
@@ -32,6 +32,7 @@ EXTENSIONS = {
'cxx': {'text', 'c++'},
'dart': {'text', 'dart'},
'def': {'text', 'def'},
+ 'dll': {'binary'},
'dtd': {'text', 'dtd'},
'ear': {'binary', 'zip', 'jar'},
'edn': {'text', 'clojure', 'edn'},
@@ -252,7 +253,11 @@ NAMES = {
'.pypirc': EXTENSIONS['ini'] | {'pypirc'},
'.rstcheck.cfg': EXTENSIONS['ini'],
'.yamllint': EXTENSIONS['yaml'] | {'yamllint'},
+ '.zlogin': EXTENSIONS['zsh'],
+ '.zlogout': EXTENSIONS['zsh'],
+ '.zprofile': EXTENSIONS['zsh'],
'.zshrc': EXTENSIONS['zsh'],
+ '.zshenv': EXTENSIONS['zsh'],
'AUTHORS': EXTENSIONS['txt'],
'BUILD': {'text', 'bazel'},
'BUILD.bazel': {'text', 'bazel'},
diff --git a/setup.cfg b/setup.cfg
index 65104a5..3fdbf02 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = identify
-version = 2.2.0
+version = 2.2.2
description = File identification library for Python
long_description = file: README.md
long_description_content_type = text/markdown