Merging upstream version 2.2.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
2a9223a722
commit
e7429a4852
3 changed files with 8 additions and 3 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.5
|
||||
rev: v1.5.6
|
||||
hooks:
|
||||
- id: autopep8
|
||||
- repo: https://github.com/asottile/reorder_python_imports
|
||||
|
@ -35,7 +35,7 @@ repos:
|
|||
- id: add-trailing-comma
|
||||
args: [--py36-plus]
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.10.0
|
||||
rev: v2.11.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py36-plus]
|
||||
|
|
|
@ -32,6 +32,7 @@ EXTENSIONS = {
|
|||
'cxx': {'text', 'c++'},
|
||||
'dart': {'text', 'dart'},
|
||||
'def': {'text', 'def'},
|
||||
'dll': {'binary'},
|
||||
'dtd': {'text', 'dtd'},
|
||||
'ear': {'binary', 'zip', 'jar'},
|
||||
'edn': {'text', 'clojure', 'edn'},
|
||||
|
@ -252,7 +253,11 @@ NAMES = {
|
|||
'.pypirc': EXTENSIONS['ini'] | {'pypirc'},
|
||||
'.rstcheck.cfg': EXTENSIONS['ini'],
|
||||
'.yamllint': EXTENSIONS['yaml'] | {'yamllint'},
|
||||
'.zlogin': EXTENSIONS['zsh'],
|
||||
'.zlogout': EXTENSIONS['zsh'],
|
||||
'.zprofile': EXTENSIONS['zsh'],
|
||||
'.zshrc': EXTENSIONS['zsh'],
|
||||
'.zshenv': EXTENSIONS['zsh'],
|
||||
'AUTHORS': EXTENSIONS['txt'],
|
||||
'BUILD': {'text', 'bazel'},
|
||||
'BUILD.bazel': {'text', 'bazel'},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[metadata]
|
||||
name = identify
|
||||
version = 2.2.0
|
||||
version = 2.2.2
|
||||
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