Ignore pylint warnings for construct that does not work with Python 2 (#821)

* Ignore pylint warnings for construct that does not work with Python 2.

* Revert "Ignore pylint warnings for construct that does not work with Python 2."

This reverts commit 92c19c78dc.

* Different approach: use ignore.txt since otherwise ansible-core 2.14 tests fail.
This commit is contained in:
Felix Fontein 2024-03-23 12:28:38 +01:00 committed by GitHub
parent 8ed1dddbba
commit 7d120ab42e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1 +1,4 @@
plugins/modules/docker_container_copy_into.py validate-modules:undocumented-parameter # _max_file_size_for_diff is used by the action plugin
plugins/module_utils/_api/api/client.py pylint:use-yield-from # suggested construct does not work with Python 2
plugins/module_utils/_api/utils/build.py pylint:use-yield-from # suggested construct does not work with Python 2
tests/unit/plugins/module_utils/test_copy.py pylint:use-yield-from # suggested construct does not work with Python 2