def check_syntax(path: expath.PathType)
Validate the syntax of a Python-based configuration file.
Source: laco/utils.py:19