diff --git a/.vscode/settings.json b/.vscode/settings.json index 1c74547d..75d01431 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,7 +6,7 @@ "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true, "python.linting.pylintEnabled": false, - "python.linting.flake8Enabled": false, + "python.linting.flake8Enabled": true, "python.formatting.provider": "none", "python.analysis.extraPaths": [ "${workspaceFolder}" @@ -43,4 +43,6 @@ "githubPullRequests.ignoredPullRequestBranches": [ "master" ], + "python.linting.pycodestyleEnabled": false, + "python.linting.enabled": true, } \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..00780f6a --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +mypy: + mypy -p datapipe --ignore-missing-imports --follow-imports=silent --namespace-packages \ No newline at end of file diff --git a/datapipe/step/batch_transform.py b/datapipe/step/batch_transform.py index a6c89e42..e8f72fe8 100644 --- a/datapipe/step/batch_transform.py +++ b/datapipe/step/batch_transform.py @@ -629,7 +629,7 @@ def get_full_process_ids( ) # Список ключей из фильтров, которые нужно добавить в результат - extra_filters: Optional[List[str, Dict]] = None + extra_filters: Optional[List[Dict[str, Any]]] = None if run_config is not None: extra_filters = [{ k: v