diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 00c3d65..aed8c94 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,35 +3,35 @@ ci: exclude: '(JSON|boards)' repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v5.0.0 hooks: - id: check-docstring-first - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.17.0 + rev: v2.7.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/PyCQA/flake8 - rev: 3.9.2 + rev: 7.1.1 hooks: - id: flake8 additional_dependencies: [flake8-typing-imports==1.7.0] - - repo: https://github.com/myint/autoflake - rev: v1.4 + - repo: https://github.com/PyCQA/autoflake + rev: v2.3.1 hooks: - id: autoflake args: ["--in-place", "--remove-all-unused-imports"] - repo: https://github.com/PyCQA/isort - rev: 5.8.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/psf/black - rev: 21.5b2 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/asottile/pyupgrade - rev: v2.19.0 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py37-plus] diff --git a/setup.cfg b/setup.cfg index 938eb4c..517acd0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,9 +12,6 @@ classifiers = Natural Language :: English Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 project_urls = Source Code =https://github.com/ianhi/detect-arduino @@ -22,9 +19,9 @@ project_urls = packages = find: install_requires = pyserial -python_requires = >=3.7 +python_requires = >=3.9 setup_requires = - setuptools_scm + setuptools-scm [flake8] exclude = docs,_version.py,.eggs,examples