Lines Matching refs:path
39 ``path_exemptions``: files whose path (relative to the root of the source
41 ``None`` to match no path. Paths are normalized and converted to ``/``
58 filepath = os.path.normpath(filepath)
61 seps = os.path.sep
62 if os.path.altsep is not None:
63 seps += os.path.altsep
70 or whose path matches ``self.path_exemptions`` will not be checked.
151 _root, ext = os.path.splitext(filepath)
358 return os.path.basename(info.filename), info.lineno
413 # Use endswith() rather than the more correct os.path.basename()
497 if os.path.isfile(fp)]
501 return [fp if os.path.dirname(fp) else os.path.join(os.curdir, fp)
527 "-l", "--log_file", type=str, help="path to optional output log",