Skip to content
Snippets Groups Projects
Commit f4c399a1 authored by nimrod's avatar nimrod
Browse files

Pre-commita autoupdate.

Also, with the newer Pylint version, address some new issues.
parent e2e42bc4
No related branches found
No related tags found
No related merge requests found
Pipeline #2130 passed
---
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:
......
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment