summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.pre-commit-config.yaml2
-rw-r--r--azure-pipelines.yml2
-rw-r--r--identify/extensions.py1
-rw-r--r--setup.cfg2
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