summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-02 13:17:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-02 13:17:24 +0000
commit25f051f14c11a62f7aa73b1c7f44f193cdb3f432 (patch)
tree25163228c6ef4708433b38222d1ee64f662f1fc1
parentAdding upstream version 2.2.3. (diff)
downloadidentify-25f051f14c11a62f7aa73b1c7f44f193cdb3f432.tar.xz
identify-25f051f14c11a62f7aa73b1c7f44f193cdb3f432.zip
Adding upstream version 2.2.4.upstream/2.2.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--.pre-commit-config.yaml4
-rw-r--r--identify/extensions.py1
-rw-r--r--setup.cfg2
3 files changed, 4 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c053f2b..2b007a1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -15,7 +15,7 @@ repos:
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/PyCQA/flake8
- rev: 3.9.0
+ rev: 3.9.1
hooks:
- id: flake8
exclude: ^identify/vendor/licenses\.py$
@@ -35,7 +35,7 @@ repos:
- id: add-trailing-comma
args: [--py36-plus]
- repo: https://github.com/asottile/pyupgrade
- rev: v2.11.0
+ rev: v2.12.0
hooks:
- id: pyupgrade
args: [--py36-plus]
diff --git a/identify/extensions.py b/identify/extensions.py
index 7b36b4e..0018da3 100644
--- a/identify/extensions.py
+++ b/identify/extensions.py
@@ -29,6 +29,7 @@ EXTENSIONS = {
'css': {'text', 'css'},
'csv': {'text', 'csv'},
'cu': {'text', 'cuda'},
+ 'cuh': {'text', 'cuda'},
'cxx': {'text', 'c++'},
'dart': {'text', 'dart'},
'def': {'text', 'def'},
diff --git a/setup.cfg b/setup.cfg
index fb4941c..194b318 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = identify
-version = 2.2.3
+version = 2.2.4
description = File identification library for Python
long_description = file: README.md
long_description_content_type = text/markdown