Skip to content

Commit

Permalink
Autoupdate pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Oct 30, 2024
1 parent e86c4ab commit f74bea3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
repos:
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.6.0
rev: v2.0.4
hooks:
- id: autopep8
- repo: https://github.com/PyCQA/isort
rev: '5.10.1'
rev: '5.13.2'
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: '22.1.0'
rev: '24.10.0'
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.6+
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
rev: v3.19.0
hooks:
- id: pyupgrade
args: [--py36-plus]
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.20.0
rev: v2.7.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -31,10 +31,10 @@ repos:
- id: debug-statements
- id: requirements-txt-fixer
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 7.1.1
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931
rev: v1.13.0
hooks:
- id: mypy
7 changes: 2 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,17 @@ url = https://github.com/aio-libs/sort-all
author = Andrew Svetlov
author_email = [email protected]
license = Apache-2.0
license_file = LICENSE
license_files = LICENSE
classifiers =
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10

[options]
py_modules = sort_all
install_requires =
tokenize-rt>=3.0.1
python_requires = >=3.8
python_requires = >=3.9

[options.entry_points]
console_scripts =
Expand Down

0 comments on commit f74bea3

Please sign in to comment.