diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8edac13..8cd3f07 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,27 +1,27 @@ exclude: ^.*_data/.*$ repos: - 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 - id: check-yaml - id: debug-statements - id: name-tests-test -- repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v1.6.0 +- repo: https://github.com/hhatto/autopep8 + rev: v2.3.2 hooks: - id: autopep8 - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.20.0 + rev: v2.8.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/asottile/pyupgrade - rev: v2.31.0 + rev: v3.20.0 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/pycqa/flake8 - rev: 4.0.1 + rev: 7.2.0 hooks: - id: flake8 diff --git a/setup.cfg b/setup.cfg index 9b1f1f8..49f0e1b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,16 +12,11 @@ platforms = any classifiers = Development Status :: 1 - Planning Intended Audience :: Developers - License :: OSI Approved :: BSD License Natural Language :: English Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 3 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 Topic :: Software Development :: Libraries :: Python Modules @@ -30,7 +25,7 @@ packages = find: install_requires = cached-property lxml>=2.2 -python_requires = >=3.7 +python_requires = >=3.9 [options.packages.find] exclude =