summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-02 13:17:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-02 13:17:28 +0000
commit0b826a0a021790b763de748a8dd4e40e3c3ebe43 (patch)
treef3ce90963bb34206d8a292323377756d4d590977
parentReleasing debian version 2.2.3-1. (diff)
downloadidentify-0b826a0a021790b763de748a8dd4e40e3c3ebe43.tar.xz
identify-0b826a0a021790b763de748a8dd4e40e3c3ebe43.zip
Merging upstream version 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