mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
python3-ansible-lint: update to 6.11.0.
This commit is contained in:
parent
9652ebe8d1
commit
62ea8b1826
2 changed files with 34 additions and 2 deletions
|
@ -0,0 +1,32 @@
|
|||
From 024867b927d760e4ae4cce88c8415ce1f8dddab2 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
|
||||
<jan.christian@gruenhage.xyz>
|
||||
Date: Fri, 20 Jan 2023 12:31:41 +0100
|
||||
Subject: [PATCH] remove update check, only makes sense when installing with
|
||||
pip
|
||||
|
||||
---
|
||||
src/ansiblelint/app.py | 7 -------
|
||||
1 file changed, 7 deletions(-)
|
||||
|
||||
diff --git a/src/ansiblelint/app.py b/src/ansiblelint/app.py
|
||||
index 40423c64..e5dff508 100644
|
||||
--- a/src/ansiblelint/app.py
|
||||
+++ b/src/ansiblelint/app.py
|
||||
@@ -291,13 +291,6 @@ warn_list: # or 'skip_list' to silence them completely
|
||||
msg += f", and fixed {summary.fixed} issue(s)"
|
||||
msg += f" on {files_count} files."
|
||||
|
||||
- # on offline mode and when run under pre-commit we do not want to
|
||||
- # check for updates.
|
||||
- if not self.options.offline and os.environ.get("PRE_COMMIT", "0") != "1":
|
||||
- version_warning = get_version_warning()
|
||||
- if version_warning:
|
||||
- msg += f"\n{version_warning}"
|
||||
-
|
||||
console_stderr.print(msg)
|
||||
|
||||
|
||||
--
|
||||
2.39.1
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'python3-ansible-lint'
|
||||
pkgname=python3-ansible-lint
|
||||
version=6.10.2
|
||||
version=6.11.0
|
||||
revision=1
|
||||
build_style=python3-pep517
|
||||
make_install_target="dist/ansible_lint-*-*-*-*.whl"
|
||||
|
@ -18,7 +18,7 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
|||
license="GPL-3.0-only"
|
||||
homepage="https://github.com/ansible/ansible-lint"
|
||||
distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
|
||||
checksum=e228449ac2f10d1c16df35c4769282b529ac1fe2b50767333fad1c85a62df671
|
||||
checksum=348ac356c3817a6db98fb6993ec17b5b236c16312238759f0a3f14f3543a9e50
|
||||
# cba anymore, the list of failing tests changes with every update
|
||||
make_check="no"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue