1
0
Fork 0

Merging upstream version 2.4.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-12 21:55:00 +01:00
parent e72356393e
commit 9c490b95a8
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4 changed files with 7 additions and 8 deletions

2
.github/FUNDING.yml vendored
View file

@ -1,2 +0,0 @@
github: asottile
open_collective: pre-commit

View file

@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.1.0
hooks:
- id: check-docstring-first
- id: check-yaml
@ -11,7 +11,7 @@ repos:
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.19.0
rev: v1.20.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/PyCQA/flake8
@ -30,16 +30,16 @@ repos:
- id: reorder-python-imports
args: [--py3-plus]
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.2.0
rev: v2.2.1
hooks:
- id: add-trailing-comma
args: [--py36-plus]
- repo: https://github.com/asottile/pyupgrade
rev: v2.29.0
rev: v2.29.1
hooks:
- id: pyupgrade
args: [--py36-plus]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910-1
rev: v0.930
hooks:
- id: mypy

View file

@ -269,6 +269,7 @@ NAMES = {
'.mention-bot': EXTENSIONS['json'] | {'mention-bot'},
'.npmignore': {'text', 'npmignore'},
'.pdbrc': EXTENSIONS['py'] | {'pdbrc'},
'.prettierignore': {'text', 'gitignore', 'prettierignore'},
'.pypirc': EXTENSIONS['ini'] | {'pypirc'},
'.rstcheck.cfg': EXTENSIONS['ini'],
'.yamllint': EXTENSIONS['yaml'] | {'yamllint'},

View file

@ -1,6 +1,6 @@
[metadata]
name = identify
version = 2.4.0
version = 2.4.1
description = File identification library for Python
long_description = file: README.md
long_description_content_type = text/markdown