Beispiel #1
0
# Copyright 2020 Massachusetts Institute of Technology.
# Licensed under the BSD 3-Clause License. See LICENSE.TXT for details.

import re
import sys

from pydocstyle.cli import main

if __name__ == "__main__":
    sys.argv[0] = re.sub(r"_script\.py$", "", sys.argv[0])
    sys.exit(main())
Beispiel #2
0
def main() -> None:
    from pydocstyle import cli

    cli.main()
Beispiel #3
0
def check_pydocstyle(argv=None):
    """Script entry point."""
    return main()
Beispiel #4
0
def main():
    from pydocstyle import cli
    cli.main()
Beispiel #5
0
def main():
    from pydocstyle import cli
    cli.main()
Beispiel #6
0
def main() -> None:
    from pydocstyle import cli
    cli.main()