diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a0149885acb0bab5eef12d50d576fea1a503ac4c..842aa0c345bb972b97f587d548caa91d68e1d6b8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v4.0.1 hooks: - id: check-merge-conflict - id: trailing-whitespace @@ -12,24 +12,24 @@ repos: - id: detect-secrets - repo: https://github.com/adrienverge/yamllint - rev: v1.26.1 + rev: v1.26.3 hooks: - id: yamllint - repo: https://github.com/executablebooks/mdformat.git - rev: 0.7.4 + rev: 0.7.9 hooks: - id: mdformat - repo: https://github.com/amperser/proselint/ - rev: 0.10.2 + rev: 0.12.0 hooks: - id: proselint types: [plain-text] exclude: LICENSE - repo: https://github.com/ambv/black - rev: 20.8b1 + rev: 21.8b0 hooks: - id: black args: @@ -37,7 +37,7 @@ repos: --line-length=79 - repo: https://github.com/PyCQA/prospector - rev: 1.3.1 + rev: 1.5.1b0 hooks: - id: prospector args: @@ -64,7 +64,7 @@ repos: - pyroma - repo: https://gitlab.com/pycqa/flake8.git - rev: 3.9.1 + rev: 3.9.2 hooks: - id: flake8 args: diff --git a/src/utils.py b/src/utils.py index 87fc9afeb453a4a8fbd7a789d82fb466c4743bb7..c764dabdfbabcb2b9a8a788751310d6ba9505677 100644 --- a/src/utils.py +++ b/src/utils.py @@ -1,6 +1,6 @@ import os import boto3 # pylint: disable=import-error -import requests # pylint: disable=import-error +import requests # pylint: disable=import-error,useless-suppression class Check: @@ -57,7 +57,7 @@ class CheckURL(Check): return False, str(e) -def website_handler(urls): # pylint: disable=unused-argument +def website_handler(urls): """Return a Lambda event handler for checking web sites.""" def _handler(event, context): # pylint: disable=unused-argument