Files
documentation/tests/checkers/resource_files.py
T

8 lines
208 B
Python
Raw Normal View History

2023-03-09 15:03:21 +00:00
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"