This repository was archived by the owner on Jan 6, 2023. It is now read-only.
File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ default_language_version:
4
4
minimum_pre_commit_version : " 1.14.0"
5
5
repos :
6
6
- repo : https://github.com/pre-commit/pre-commit-hooks
7
- rev : v3.3 .0
7
+ rev : v3.4 .0
8
8
hooks :
9
9
- id : end-of-file-fixer
10
10
- id : trailing-whitespace
@@ -22,18 +22,18 @@ repos:
22
22
hooks :
23
23
- id : doc8
24
24
- repo : https://github.com/python/black.git
25
- rev : 20.8b1
25
+ rev : 21.5b1
26
26
hooks :
27
27
- id : black
28
28
language_version : python3
29
29
- repo : https://gitlab.com/pycqa/flake8.git
30
- rev : 3.8.4
30
+ rev : 3.9.2
31
31
hooks :
32
32
- id : flake8
33
33
additional_dependencies :
34
34
- flake8-black
35
35
- repo : https://github.com/codespell-project/codespell.git
36
- rev : v1.17.1
36
+ rev : v2.0.0
37
37
hooks :
38
38
- id : codespell
39
39
name : codespell
45
45
require_serial : false
46
46
additional_dependencies : []
47
47
- repo : https://github.com/adrienverge/yamllint.git
48
- rev : v1.25.0
48
+ rev : v1.26.1
49
49
hooks :
50
50
- id : yamllint
51
51
files : \.(yaml|yml)$
64
64
# use jinja templating, this will often fail and the syntax
65
65
# error will be discovered in execution anyway)
66
66
- repo : https://github.com/ansible/ansible-lint.git
67
- rev : v4.3.5
67
+ rev : v5.0.8
68
68
hooks :
69
69
- id : ansible-lint
70
70
always_run : true
Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ def __init__(self, module):
303
303
304
304
@contextlib .contextmanager
305
305
def stdout_cm (self ):
306
- """ Redirect the stdout to a log file. """
306
+ """Redirect the stdout to a log file."""
307
307
with open (self ._get_stdout_log (), "a+" ) as fh :
308
308
msg = "### {} ###\n " .format (self ._datetime )
309
309
fh .write (msg )
@@ -313,7 +313,7 @@ def stdout_cm(self):
313
313
314
314
@contextlib .contextmanager
315
315
def stderr_cm (self ):
316
- """ Redirect the stderr to a log file. """
316
+ """Redirect the stderr to a log file."""
317
317
with open (self ._get_stderr_log (), "a+" ) as fh :
318
318
msg = "### {} ###\n " .format (self ._datetime )
319
319
fh .write (msg )
Original file line number Diff line number Diff line change 12
12
(test -e /usr/bin/yum && sudo yum -y -qq install python3) ||
13
13
(test -e /usr/sbin/pkg && sudo env ASSUME_ALWAYS_YES=yes pkg update && sudo env ASSUME_ALWAYS_YES=yes pkg install python3) ||
14
14
(test -e /usr/sbin/pkg_add && sudo /usr/sbin/pkg_add -U -I -x python%3.7) ||
15
- echo "Warning: Python not boostrapped due to unknown platform."
15
+ echo "Warning: Python not bootstrapped due to unknown platform."
16
16
)
17
17
become : true
18
18
changed_when : false
You can’t perform that action at this time.
0 commit comments