This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
# First, run `mypy --show-error-codes --config-file mypy.ini src > mypy_results.txt` | |
def remove_unused_type_ignore(): | |
result_dict = {} | |
with open( | |
os.path.abspath(os.getcwd()) + "/mypy_results.txt", "r", encoding="utf8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
# First, run `mypy --show-error-codes src > mypy_results.txt` | |
def add_type_ignore() -> None: | |
result_dict: dict = {} | |
with open(os.path.abspath(os.getcwd()) + "/mypy_results.txt", "r", encoding="utf8") as file_pointer: |