odoo/documentation#14713

Created by fw-bot
Merged at 38c86f60d611761970f3a5787150131d4c84eaae

Statuses:

label
odoo-dev:saas-18.2-17.0-enable-additionnal-checkers-anv-466446-fw
head
275711c7796082510aed2e0c9d17ae31e41255a2
merged
16 hours ago by Sales, Antoine Vandevenne (anv)
odoo/documentation
17.0 #14650
18.0 #14712
saas-18.2 #14713
saas-18.3 #14714
saas-18.4 #14715
19.0 #14716
master #14717

[IMP] tests: enable additional resource file-related checkers

The following custom checkers were never run by the ci/documentation_guidelines build and had to be run locally with make review:
- check_image_size: Check that images are not larger than the maximum file size allowed for their extension.
- check_image_color_depth: Check that PNG images are compressed to 8-bit color depth with PNGQuant.
- check_resource_file_name: Check that resource file names use hyphens rather than underscores.

Since reviewers systematically perform these checks manually, it makes sense to include them in the standard test suite. Should a check raise a false positive (e.g., an example_db.zip resource file is added and hyphens should not be used), the red CI can be safely ignored as it is not required for merging.

Forward-Port-Of: #14650