documentation/tests/checkers/resource_files.py
Antoine Vandevenne (anv) 8574a5b326 [REF] tests: split checkers
task-2801043

closes 

X-original-commit: 8e8c466892
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2023-03-10 11:03:35 +01:00

8 lines
208 B
Python

import sphinxlint
@sphinxlint.checker('')
def check_file_extensions(file, lines, options=None):
""" Check that there is no file without extension. """
yield 0, "the file does not have an extension"