diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 137b1a2..cfc5d2a 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.3.0 + rev: v5.0.0 hooks: - id: debug-statements - id: double-quote-string-fixer @@ -8,34 +8,34 @@ repos: - id: requirements-txt-fixer - id: trailing-whitespace - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.20.1 + rev: v2.8.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 7.2.0 hooks: - id: flake8 additional_dependencies: [flake8-typing-imports==1.7.0] -- 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/add-trailing-comma - rev: v2.2.3 + rev: v3.1.0 hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v2.34.0 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.961 + rev: v1.15.0 hooks: - id: mypy exclude: ^tests/ - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 6.0.1 hooks: - id: isort name: isort diff --git a/setup.cfg b/setup.cfg index 28660c6..78f88cc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,15 +7,10 @@ url = https://github.com/dannysepler/killport 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 - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 project_urls = Bug Tracker = https://github.com/dannysepler/killport/issues @@ -23,7 +18,7 @@ project_urls = py_modules = killport install_requires = psutil -python_requires = >=3.7.0 +python_requires = >=3.9 [options.packages.find] exclude =