diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 52f2ce2..bb6be28 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: check-added-large-files - id: end-of-file-fixer @@ -23,27 +23,27 @@ repos: - id: debug-statements - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 5.12.0 hooks: - id: isort name: isort (python) - repo: https://github.com/psf/black - rev: 22.8.0 + rev: 23.3.0 hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 5.0.4 + rev: 6.0.0 hooks: - id: flake8 - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.0.0 + rev: v2.2.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/tox-dev/tox-ini-fmt - rev: 0.5.2 + rev: 1.0.0 hooks: - id: tox-ini-fmt diff --git a/setup.cfg b/setup.cfg index 0ba37a5..2051e1a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,7 +27,7 @@ packages = find: install_requires = boto boto3 -python_requires = >=3.6 +python_requires = >=3.7 include_package_data = True package_dir = = src diff --git a/tox.ini b/tox.ini index e87caf0..6fab190 100644 --- a/tox.ini +++ b/tox.ini @@ -7,20 +7,20 @@ envlist = isolated_build = true [testenv] -setenv = - BOTO_CONFIG = /dev/null extras = test +setenv = + BOTO_CONFIG = /dev/null commands = python -m pytest --cov=clustercron [testenv:lint] -passenv = - SSH_AUTH_SOCK basepython = python3.10 skip_install = true deps = pre-commit +passenv = + SSH_AUTH_SOCK commands = pre-commit run --all-files --show-diff-on-failure