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