ansible-test - Limit deprecated check to core (#81552)

Using `# deprecated:` comment checks in collections would effectively limit those collections to a single version of ansible-core.
pull/81556/head
Matt Clay 1 year ago committed by GitHub
parent c69c83c962
commit f28e32c063
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,3 +1,3 @@
minor_changes:
- ansible-test - Add new pylint checker for new ``# deprecated:`` comments within code to trigger errors when time to remove code
that has no user facing deprecation message
that has no user facing deprecation message. Only supported in ansible-core, not collections.

@ -30,6 +30,7 @@ disable=
consider-using-max-builtin,
consider-using-min-builtin,
cyclic-import, # consistent results require running with --jobs 1 and testing all files
deprecated-comment, # custom plugin only used by ansible-core, not collections
deprecated-method, # results vary by Python version
deprecated-module, # results vary by Python version
duplicate-code, # consistent results require running with --jobs 1 and testing all files

Loading…
Cancel
Save