/usr/lib/python3/dist-packages/flake8/main/cli.py is in python3-flake8 3.5.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | """Command-line implementation of flake8."""
from flake8.main import application
def main(argv=None):
# type: (Union[NoneType, List[str]]) -> NoneType
"""Execute the main bit of the application.
This handles the creation of an instance of :class:`Application`, runs it,
and then exits the application.
:param list argv:
The arguments to be passed to the application for parsing.
"""
app = application.Application()
app.run(argv)
app.exit()
|