Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down