init
This commit is contained in:
commit
38355d2442
9083 changed files with 1225834 additions and 0 deletions
BIN
.venv/lib/python3.8/site-packages/mypy/__init__.cpython-38-x86_64-linux-gnu.so
Executable file
BIN
.venv/lib/python3.8/site-packages/mypy/__init__.cpython-38-x86_64-linux-gnu.so
Executable file
Binary file not shown.
1
.venv/lib/python3.8/site-packages/mypy/__init__.py
Normal file
1
.venv/lib/python3.8/site-packages/mypy/__init__.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
# This page intentionally left blank
|
||||
34
.venv/lib/python3.8/site-packages/mypy/__main__.py
Normal file
34
.venv/lib/python3.8/site-packages/mypy/__main__.py
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
"""Mypy type checker command line tool."""
|
||||
import os
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from mypy.main import main, process_options
|
||||
from mypy.util import FancyFormatter
|
||||
|
||||
|
||||
def console_entry() -> None:
|
||||
try:
|
||||
main(None, sys.stdout, sys.stderr)
|
||||
sys.stdout.flush()
|
||||
sys.stderr.flush()
|
||||
except BrokenPipeError:
|
||||
# Python flushes standard streams on exit; redirect remaining output
|
||||
# to devnull to avoid another BrokenPipeError at shutdown
|
||||
devnull = os.open(os.devnull, os.O_WRONLY)
|
||||
os.dup2(devnull, sys.stdout.fileno())
|
||||
sys.exit(2)
|
||||
except KeyboardInterrupt:
|
||||
_, options = process_options(args=sys.argv[1:])
|
||||
if options.show_traceback:
|
||||
sys.stdout.write(traceback.format_exc())
|
||||
formatter = FancyFormatter(sys.stdout, sys.stderr, False)
|
||||
msg = "Interrupted\n"
|
||||
sys.stdout.write(formatter.style(msg, color="red", bold=True))
|
||||
sys.stdout.flush()
|
||||
sys.stderr.flush()
|
||||
sys.exit(2)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
console_entry()
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue