Skip to content

Commit

Permalink
Ignore pylint warnings for construct that does not work with Python 2 (
Browse files Browse the repository at this point in the history
…#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 92c19c7.

* Different approach: use ignore.txt since otherwise ansible-core 2.14 tests fail.
  • Loading branch information
felixfontein authored Mar 23, 2024
1 parent 8ed1ddd commit 7d120ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/sanity/ignore-2.17.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7d120ab

Please sign in to comment.