From 7f492848a08537ddc17921bce1954c1eaa8d53e2 Mon Sep 17 00:00:00 2001 From: Alejandro Cardenas Date: Mon, 8 Jul 2024 08:29:16 +1000 Subject: [PATCH] test: fix qa warnings --- pylintrc | 16 ---------------- .../environment_manager_git_repository.py | 1 - 2 files changed, 17 deletions(-) diff --git a/pylintrc b/pylintrc index 96a451b..ef513af 100644 --- a/pylintrc +++ b/pylintrc @@ -1,22 +1,13 @@ - [MASTER] ignore = migrations, templates persistent = yes [MESSAGES CONTROL] disable = - locally-disabled, - locally-enabled, too-few-public-methods, - bad-builtin, - star-args, - abstract-class-not-used, - abstract-class-little-used, - no-init, fixme, logging-format-interpolation, too-many-lines, - no-self-use, too-many-ancestors, too-many-instance-attributes, too-few-public-methods, @@ -29,7 +20,6 @@ disable = [REPORTS] output-format = text -files-output = no reports = no evaluation = 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) @@ -54,7 +44,6 @@ docstring-min-length = -1 max-line-length = 120 ignore-long-lines = ^\s*(# )??$ single-line-if-stmt = no -no-space-check = trailing-comma,dict-separator max-module-lines = 1000 indent-string = ' ' @@ -118,11 +107,6 @@ max-public-methods = 20 [IMPORTS] deprecated-modules = regsub,TERMIOS,Bastion,rexec -import-graph = -ext-import-graph = -int-import-graph = [EXCEPTIONS] overgeneral-exceptions = Exception - -# 1a67033d4799199101eddf63b8ed0bef3e61bda7 diff --git a/tvm/environment_manager/infrastructure/environment_manager_git_repository.py b/tvm/environment_manager/infrastructure/environment_manager_git_repository.py index e13af00..80e30ee 100644 --- a/tvm/environment_manager/infrastructure/environment_manager_git_repository.py +++ b/tvm/environment_manager/infrastructure/environment_manager_git_repository.py @@ -99,7 +99,6 @@ def create_active_script(self, context: dict) -> None: def create_project(self, project_name: ProjectName) -> None: """Duplicate the version directory and rename it.""" project_path = os.path.join(TVM_PATH, project_name) - if not os.path.exists(project_path): tutor_version = project_name.split("@")[0] tutor_version_folder = os.path.join(TVM_PATH, tutor_version)