summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Meyers <chris.meyers.fsu@gmail.com>2025-01-14 21:46:27 +0100
committerChris Meyers <chrismeyersfsu@users.noreply.github.com>2025-01-15 19:49:09 +0100
commit885cb8846f6d7c4ee3ddcf3273e413eaa5f30c5f (patch)
treeae9d1db75e8ce544acceaff5c07e1090d999f624
parentFix ansible-lint empty lines in module docstrings (diff)
downloadawx-885cb8846f6d7c4ee3ddcf3273e413eaa5f30c5f.tar.xz
awx-885cb8846f6d7c4ee3ddcf3273e413eaa5f30c5f.zip
Remove coarse grain unused import
* It would seem that fine-grain noqa pylint ignores do the job and are already in place. Prefer that over the coarse entire file ignore.
-rw-r--r--awx_collection/tests/sanity/ignore-2.15.txt2
-rw-r--r--awx_collection/tests/sanity/ignore-2.16.txt2
2 files changed, 0 insertions, 4 deletions
diff --git a/awx_collection/tests/sanity/ignore-2.15.txt b/awx_collection/tests/sanity/ignore-2.15.txt
index b502cada12..19512ea0c1 100644
--- a/awx_collection/tests/sanity/ignore-2.15.txt
+++ b/awx_collection/tests/sanity/ignore-2.15.txt
@@ -1,3 +1 @@
plugins/modules/export.py validate-modules:nonexistent-parameter-documented # needs awxkit to construct argspec
-plugins/modules/import.py pylint:unused-import # Simply used as a feature flag conditional
-test/awx/conftest.py pylint:unused-import # Used to make sure we are importing the right awxkit, see comment in conftest.py near imports
diff --git a/awx_collection/tests/sanity/ignore-2.16.txt b/awx_collection/tests/sanity/ignore-2.16.txt
index b502cada12..19512ea0c1 100644
--- a/awx_collection/tests/sanity/ignore-2.16.txt
+++ b/awx_collection/tests/sanity/ignore-2.16.txt
@@ -1,3 +1 @@
plugins/modules/export.py validate-modules:nonexistent-parameter-documented # needs awxkit to construct argspec
-plugins/modules/import.py pylint:unused-import # Simply used as a feature flag conditional
-test/awx/conftest.py pylint:unused-import # Used to make sure we are importing the right awxkit, see comment in conftest.py near imports