From a99881b396aba35beb99d5ff4430ff5673f1d838 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 19 Apr 2021 15:21:55 +0200 Subject: Merging upstream version 2.2.3. Signed-off-by: Daniel Baumann --- .pre-commit-config.yaml | 2 +- azure-pipelines.yml | 2 +- identify/extensions.py | 1 + setup.cfg | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4d952e1..c053f2b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: rev: v1.17.0 hooks: - id: setup-cfg-fmt -- repo: https://gitlab.com/pycqa/flake8 +- repo: https://github.com/PyCQA/flake8 rev: 3.9.0 hooks: - id: flake8 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7bb7600..61a5a11 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,7 +10,7 @@ resources: type: github endpoint: github name: asottile/azure-pipeline-templates - ref: refs/tags/v2.0.0 + ref: refs/tags/v2.1.0 jobs: - template: job--python-tox.yml@asottile diff --git a/identify/extensions.py b/identify/extensions.py index 0fc0d8f..7b36b4e 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -58,6 +58,7 @@ EXTENSIONS = { 'gypi': {'text', 'gyp', 'python'}, 'gz': {'binary', 'gzip'}, 'h': {'text', 'header', 'c', 'c++'}, + 'hh': {'text', 'header', 'c++'}, 'hpp': {'text', 'header', 'c++'}, 'hs': {'text', 'haskell'}, 'htm': {'text', 'html'}, diff --git a/setup.cfg b/setup.cfg index 3fdbf02..fb4941c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = identify -version = 2.2.2 +version = 2.2.3 description = File identification library for Python long_description = file: README.md long_description_content_type = text/markdown -- cgit v1.2.3