Merging upstream version 2.4.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
2eeaca0db8
commit
12d0b39570
4 changed files with 8 additions and 5 deletions
|
@ -21,7 +21,7 @@ repos:
|
|||
exclude: ^identify/vendor/licenses\.py$
|
||||
additional_dependencies: [flake8-typing-imports==1.10.1]
|
||||
- repo: https://github.com/pre-commit/mirrors-autopep8
|
||||
rev: v1.5.7
|
||||
rev: v1.6.0
|
||||
hooks:
|
||||
- id: autopep8
|
||||
- repo: https://github.com/asottile/reorder_python_imports
|
||||
|
@ -35,11 +35,11 @@ repos:
|
|||
- id: add-trailing-comma
|
||||
args: [--py36-plus]
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.29.1
|
||||
rev: v2.31.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py36-plus]
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.930
|
||||
rev: v0.931
|
||||
hooks:
|
||||
- id: mypy
|
||||
|
|
|
@ -25,6 +25,7 @@ EXTENSIONS = {
|
|||
'coffee': {'text', 'coffee'},
|
||||
'conf': {'text'},
|
||||
'cpp': {'text', 'c++'},
|
||||
'cr': {'text', 'crystal'},
|
||||
'crt': {'text', 'pem'},
|
||||
'cs': {'text', 'c#'},
|
||||
'csproj': {'text', 'xml', 'csproj'},
|
||||
|
@ -78,6 +79,7 @@ EXTENSIONS = {
|
|||
'idr': {'text', 'idris'},
|
||||
'inc': {'text', 'inc'},
|
||||
'ini': {'text', 'ini'},
|
||||
'ino': {'text', 'ino', 'c++'},
|
||||
'inx': {'text', 'xml', 'inx'},
|
||||
'ipynb': {'text', 'jupyter'},
|
||||
'j2': {'text', 'jinja'},
|
||||
|
@ -113,6 +115,7 @@ EXTENSIONS = {
|
|||
'md': {'text', 'markdown'},
|
||||
'mdx': {'text', 'mdx'},
|
||||
'mib': {'text', 'mib'},
|
||||
'mjs': {'text', 'javascript'},
|
||||
'mk': {'text', 'makefile'},
|
||||
'ml': {'text', 'ocaml'},
|
||||
'mli': {'text', 'ocaml'},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[metadata]
|
||||
name = identify
|
||||
version = 2.4.1
|
||||
version = 2.4.4
|
||||
description = File identification library for Python
|
||||
long_description = file: README.md
|
||||
long_description_content_type = text/markdown
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -7,7 +7,7 @@ extras = license
|
|||
commands =
|
||||
coverage erase
|
||||
coverage run -m pytest {posargs:tests}
|
||||
coverage report --fail-under 100
|
||||
coverage report
|
||||
|
||||
[testenv:pre-commit]
|
||||
skip_install = true
|
||||
|
|
Loading…
Add table
Reference in a new issue