From aed86b2d15b7c3eecb31281a87aa59511218b322 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 25 Feb 2021 22:00:20 +0100 Subject: Merging upstream version 1.5.14. Signed-off-by: Daniel Baumann --- .pre-commit-config.yaml | 4 ++-- identify/extensions.py | 2 ++ setup.cfg | 2 +- 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 -- cgit v1.2.3