diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6184118..73c7f80 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: debug-statements - id: double-quote-string-fixer @@ -8,7 +8,7 @@ repos: - id: requirements-txt-fixer - id: trailing-whitespace - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.2.0 + rev: v2.8.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/dannysepler/rm_unneeded_f_str @@ -16,30 +16,30 @@ repos: hooks: - id: rm-unneeded-f-str - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.2.0 hooks: - id: flake8 additional_dependencies: [flake8-typing-imports==1.14.0] -- repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v2.0.1 +- repo: https://github.com/hhatto/autopep8 + rev: v2.3.2 hooks: - id: autopep8 - repo: https://github.com/asottile/add-trailing-comma - rev: v2.4.0 + rev: v3.1.0 hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.991 + rev: v1.15.0 hooks: - id: mypy exclude: ^tests/ - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 6.0.1 hooks: - id: isort name: isort diff --git a/setup.cfg b/setup.cfg index cecf1f8..9f33860 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,15 +8,14 @@ url = https://github.com/dannysepler/rm_unneeded_f_str author = Danny Sepler author_email = dannysepler@gmail.com license = MIT -license_file = LICENSE +license_files = LICENSE classifiers = - License :: OSI Approved :: MIT License Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only [options] py_modules = rm_unneeded_f_str -python_requires = >=3.7 +python_requires = >=3.9 [options.entry_points] console_scripts =