diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a101094..8477d24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,11 +12,11 @@ repos: - id: requirements-txt-fixer - id: trailing-whitespace - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.2.0 + rev: v2.4.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 6.1.0 hooks: - id: flake8 additional_dependencies: [flake8-typing-imports==1.14.0] @@ -25,21 +25,21 @@ repos: hooks: - id: autopep8 - repo: https://github.com/asottile/reorder-python-imports - rev: v3.9.0 + rev: v3.10.0 hooks: - id: reorder-python-imports args: [--py3-plus] - repo: https://github.com/asottile/add-trailing-comma - rev: v2.4.0 + rev: v3.0.1 hooks: - id: add-trailing-comma args: [--py36-plus] - repo: https://github.com/asottile/pyupgrade - rev: v3.4.0 + rev: v3.10.1 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.3.0 + rev: v1.5.0 hooks: - id: mypy diff --git a/setup.cfg b/setup.cfg index 447d1c9..1bea143 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ long_description_content_type = text/markdown url = https://github.com/MarcoGorelli/absolufy-imports author = Marco Gorelli license = MIT -license_file = LICENSE +license_files = LICENSE classifiers = License :: OSI Approved :: MIT License Programming Language :: Python :: 3 @@ -17,7 +17,7 @@ classifiers = [options] py_modules = absolufy_imports -python_requires = >=3.7 +python_requires = >=3.8 [options.entry_points] console_scripts =