diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 00c3d65..632b8f0 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.8.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/PyCQA/flake8 - rev: 3.9.2 + rev: 7.2.0 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: 6.0.1 hooks: - id: isort - repo: https://github.com/psf/black - rev: 21.5b2 + rev: 25.1.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