1
0
Fork 0

Merging upstream version 2.5.3.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-12 22:02:54 +01:00
parent 4286db044a
commit 3010509232
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
3 changed files with 7 additions and 10 deletions

View file

@ -10,11 +10,11 @@ repos:
- id: name-tests-test - id: name-tests-test
- id: requirements-txt-fixer - id: requirements-txt-fixer
- repo: https://github.com/asottile/setup-cfg-fmt - repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.20.1 rev: v2.0.0
hooks: hooks:
- id: setup-cfg-fmt - id: setup-cfg-fmt
- repo: https://github.com/asottile/reorder_python_imports - repo: https://github.com/asottile/reorder_python_imports
rev: v3.8.1 rev: v3.8.2
hooks: hooks:
- id: reorder-python-imports - id: reorder-python-imports
args: [--py37-plus, --add-import, 'from __future__ import annotations'] args: [--py37-plus, --add-import, 'from __future__ import annotations']
@ -24,7 +24,7 @@ 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.37.1 rev: v2.37.3
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--py37-plus] args: [--py37-plus]
@ -33,11 +33,11 @@ repos:
hooks: hooks:
- id: autopep8 - id: autopep8
- repo: https://github.com/PyCQA/flake8 - repo: https://github.com/PyCQA/flake8
rev: 4.0.1 rev: 5.0.2
hooks: hooks:
- id: flake8 - id: flake8
exclude: ^identify/vendor/licenses\.py$ exclude: ^identify/vendor/licenses\.py$
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.961 rev: v0.971
hooks: hooks:
- id: mypy - id: mypy

View file

@ -45,6 +45,7 @@ EXTENSIONS = {
'ear': {'binary', 'zip', 'jar'}, 'ear': {'binary', 'zip', 'jar'},
'edn': {'text', 'clojure', 'edn'}, 'edn': {'text', 'clojure', 'edn'},
'ejs': {'text', 'ejs'}, 'ejs': {'text', 'ejs'},
'env': {'text', 'dotenv'},
'eot': {'binary', 'eot'}, 'eot': {'binary', 'eot'},
'eps': {'binary', 'eps'}, 'eps': {'binary', 'eps'},
'erb': {'text', 'erb'}, 'erb': {'text', 'erb'},

View file

@ -1,6 +1,6 @@
[metadata] [metadata]
name = identify name = identify
version = 2.5.2 version = 2.5.3
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
@ -13,10 +13,6 @@ classifiers =
License :: OSI Approved :: MIT License License :: OSI Approved :: MIT License
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy Programming Language :: Python :: Implementation :: PyPy