odoo/documentation#14650

Created by Sales, Antoine Vandevenne (anv)
Merged at 41f2e20636e015d31ce4b6f1daa1911d49de2f27

Statuses:

label
odoo-dev:17.0-enable-additionnal-checkers-anv
head
4ca59ad89d4b5cb2569a87bdfcaee450ac2c906e
merged
1 day 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.