1 From 6629302b05dac6de22b79e636dc2e1941c3dd9f1 Mon Sep 17 00:00:00 2001
2 From: Frederik Schwan <frederik.schwan@linux.com>
3 Date: Sat, 29 Oct 2022 19:27:41 +0200
4 Subject: [PATCH] stop ansible-lint from calling home every 24h
7 src/ansiblelint/app.py | 5 -----
8 1 file changed, 5 deletions(-)
10 diff --git a/src/ansiblelint/app.py b/src/ansiblelint/app.py
11 index 0699d15..bbc954e 100644
12 --- a/src/ansiblelint/app.py
13 +++ b/src/ansiblelint/app.py
14 @@ -290,11 +290,6 @@ warn_list: # or 'skip_list' to silence them completely
16 # on offline mode and when run under pre-commit we do not want to
18 - if not self.options.offline and os.environ.get("PRE_COMMIT", "0") != "1":
19 - version_warning = get_version_warning()
21 - msg += f"\n{version_warning}"
23 console_stderr.print(msg)