diff options
Diffstat (limited to 'test/sanity/code-smell/rstcheck.py')
-rwxr-xr-x | test/sanity/code-smell/rstcheck.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/sanity/code-smell/rstcheck.py b/test/sanity/code-smell/rstcheck.py index 885659c3e4..d3d6e8775e 100755 --- a/test/sanity/code-smell/rstcheck.py +++ b/test/sanity/code-smell/rstcheck.py @@ -3,6 +3,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type +import os import re import subprocess import sys @@ -19,7 +20,7 @@ def main(): cmd = [ sys.executable, - '-m', 'rstcheck', + os.path.join(os.path.dirname(__file__), 'rstcheck-cli.py'), '--report', 'warning', '--ignore-substitutions', ','.join(ignore_substitutions), ] + paths |