👷 Made mypy strict

This commit is contained in:
Nikhil Badyal
2022-10-05 23:03:45 +05:30
parent 31dc22f320
commit 31b98a7edc
5 changed files with 30 additions and 19 deletions
+5 -1
View File
@@ -1,13 +1,17 @@
import sys
from pathlib import Path
from subprocess import PIPE, Popen
from time import perf_counter
from typing import Any, List
from environs import Env
from loguru import logger
from src.patches import Patches
class Parser(object):
def __init__(self, patcher, env, temp_folder) -> None:
def __init__(self, patcher: Patches, env: Env, temp_folder: Path) -> None:
self._PATCHES: List[str] = []
self._EXCLUDED: List[str] = []
self.patcher = patcher