From 25f051f14c11a62f7aa73b1c7f44f193cdb3f432 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 2 May 2021 15:17:24 +0200 Subject: Adding upstream version 2.2.4. Signed-off-by: Daniel Baumann --- .pre-commit-config.yaml | 4 ++-- identify/extensions.py | 1 + setup.cfg | 2 +- 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 -- cgit v1.2.3