# these are scripts and templates used by ansible modules; they are not intended
# to be run on the host.
ansible: script-not-executable [usr/lib/python3/dist-packages/ansible_collections/*]

# Each collection contains docs next to the code, it wouldn't be sane to copy
# the docs to a different location.
ansible: package-contains-documentation-outside-usr-share-doc [usr/lib/python3/dist-packages/ansible_collections/*]

# Yes, that information is ideally in debian/copyright. But I'm not removing
# them all.
ansible: extra-license-file [usr/lib/python3/dist-packages/ansible_collections/*/LICENSE]
ansible: extra-license-file [usr/lib/python3/dist-packages/ansible_collections/*/LICENSE.txt]
ansible: extra-license-file [usr/lib/python3/dist-packages/ansible_collections/*/COPYING*]
ansible: extra-license-file [usr/lib/python3/dist-packages/ansible_collections/*/GPL-3.0-or-later.txt]

# lintian warns about this and refers to dpkg-maintscript-helper(1), where
# exactly this method is documented.
ansible: maintainer-script-should-not-use-dpkg-maintscript-helper "dpkg-maintscript-helper" *

# Just noise.
ansible: repeated-path-segment * [*]

# regression of https://bugs.debian.org/1003913 ?
ansible: package-contains-documentation-outside-usr-share-doc [usr/lib/python3/dist-packages/ansible-*.dist-info/top_level.txt]

# Some of the collections ship info graphics.
ansible: image-file-in-usr-lib [usr/lib/python3/dist-packages/ansible_collections/*.png]
