def lint_tests() -> None: """ Lint only the tests by a different rule set """ lint_file = do_lint("test") evaluated_lint_results( lint_output_file_name=lint_file, small_code_base_cut_off=SMALL_CODE_BASE_CUTOFF, maximum_lint=MAXIMUM_LINT, fatals=[], )
def lint() -> None: """ Lint with pylint """ lint_file = do_lint(PROJECT_NAME) fatals = ["no-member", "no-name-in-module", "import-error"] evaluated_lint_results( lint_output_file_name=lint_file, small_code_base_cut_off=SMALL_CODE_BASE_CUTOFF, maximum_lint=MAXIMUM_LINT, fatals=fatals, )