summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-02-25 21:00:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-02-25 21:00:20 +0000
commitaed86b2d15b7c3eecb31281a87aa59511218b322 (patch)
tree610d0baca7cdef632ea5a6551b303a6ba1f5e787
parentReleasing debian version 1.5.13-1. (diff)
downloadidentify-aed86b2d15b7c3eecb31281a87aa59511218b322.tar.xz
identify-aed86b2d15b7c3eecb31281a87aa59511218b322.zip
Merging upstream version 1.5.14.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--.pre-commit-config.yaml4
-rw-r--r--identify/extensions.py2
-rw-r--r--setup.cfg2
3 files changed, 5 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 59813df..c3381ff 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -23,7 +23,7 @@ repos:
hooks:
- id: autopep8
- repo: https://github.com/asottile/reorder_python_imports
- rev: v2.3.6
+ rev: v2.4.0
hooks:
- id: reorder-python-imports
args: [
@@ -31,6 +31,6 @@ repos:
'--add-import', 'from __future__ import unicode_literals',
]
- repo: https://github.com/asottile/add-trailing-comma
- rev: v2.0.2
+ rev: v2.1.0
hooks:
- id: add-trailing-comma
diff --git a/identify/extensions.py b/identify/extensions.py
index 0098ec6..62a7f5b 100644
--- a/identify/extensions.py
+++ b/identify/extensions.py
@@ -231,6 +231,8 @@ NAMES = {
'.bashrc': EXTENSIONS['bash'],
'.bowerrc': EXTENSIONS['json'] | {'bowerrc'},
'.browserslistrc': {'text', 'browserslistrc'},
+ '.clang-format': EXTENSIONS['yaml'],
+ '.clang-tidy': EXTENSIONS['yaml'],
'.codespellrc': EXTENSIONS['ini'] | {'codespellrc'},
'.coveragerc': EXTENSIONS['ini'] | {'coveragerc'},
'.cshrc': EXTENSIONS['csh'],
diff --git a/setup.cfg b/setup.cfg
index 9b919f1..c5dce83 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = identify
-version = 1.5.13
+version = 1.5.14
description = File identification library for Python
long_description = file: README.md
long_description_content_type = text/markdown