Merging upstream version 2.5.28.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
b582782bf8
commit
377d37de59
3 changed files with 11 additions and 5 deletions
|
@ -19,7 +19,7 @@ repos:
|
|||
- id: reorder-python-imports
|
||||
args: [--py38-plus, --add-import, 'from __future__ import annotations']
|
||||
- repo: https://github.com/asottile/add-trailing-comma
|
||||
rev: v3.0.1
|
||||
rev: v3.1.0
|
||||
hooks:
|
||||
- id: add-trailing-comma
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
|
@ -27,8 +27,8 @@ repos:
|
|||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py38-plus]
|
||||
- repo: https://github.com/pre-commit/mirrors-autopep8
|
||||
rev: v2.0.2
|
||||
- repo: https://github.com/hhatto/autopep8
|
||||
rev: v2.0.4
|
||||
hooks:
|
||||
- id: autopep8
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
|
@ -37,6 +37,6 @@ repos:
|
|||
- id: flake8
|
||||
exclude: ^identify/vendor/licenses\.py$
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v1.5.0
|
||||
rev: v1.5.1
|
||||
hooks:
|
||||
- id: mypy
|
||||
|
|
|
@ -17,7 +17,10 @@ EXTENSIONS = {
|
|||
'bz2': {'binary', 'bzip2'},
|
||||
'bzl': {'text', 'bazel'},
|
||||
'c': {'text', 'c'},
|
||||
'c++': {'text', 'c++'},
|
||||
'c++m': {'text', 'c++'},
|
||||
'cc': {'text', 'c++'},
|
||||
'ccm': {'text', 'c++'},
|
||||
'cfg': {'text'},
|
||||
'chs': {'text', 'c2hs'},
|
||||
'cjs': {'text', 'javascript'},
|
||||
|
@ -29,6 +32,7 @@ EXTENSIONS = {
|
|||
'coffee': {'text', 'coffee'},
|
||||
'conf': {'text'},
|
||||
'cpp': {'text', 'c++'},
|
||||
'cppm': {'text', 'c++'},
|
||||
'cr': {'text', 'crystal'},
|
||||
'crt': {'text', 'pem'},
|
||||
'cs': {'text', 'c#'},
|
||||
|
@ -41,6 +45,7 @@ EXTENSIONS = {
|
|||
'cue': {'text', 'cue'},
|
||||
'cuh': {'text', 'cuda'},
|
||||
'cxx': {'text', 'c++'},
|
||||
'cxxm': {'text', 'c++'},
|
||||
'cylc': {'text', 'cylc'},
|
||||
'dart': {'text', 'dart'},
|
||||
'dbc': {'text', 'dbc'},
|
||||
|
@ -101,6 +106,7 @@ EXTENSIONS = {
|
|||
'ino': {'text', 'ino', 'c++'},
|
||||
'inx': {'text', 'xml', 'inx'},
|
||||
'ipynb': {'text', 'jupyter', 'json'},
|
||||
'ixx': {'text', 'c++'},
|
||||
'j2': {'text', 'jinja'},
|
||||
'jade': {'text', 'jade'},
|
||||
'jar': {'binary', 'zip', 'jar'},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[metadata]
|
||||
name = identify
|
||||
version = 2.5.27
|
||||
version = 2.5.28
|
||||
description = File identification library for Python
|
||||
long_description = file: README.md
|
||||
long_description_content_type = text/markdown
|
||||
|
|
Loading…
Add table
Reference in a new issue