From cc0eba34b416d93c1bc960a62c99463d3117fd6b Mon Sep 17 00:00:00 2001 From: Nikita Shulga <2453524+malfet@users.noreply.github.com> Date: Thu, 18 Apr 2024 13:24:04 -0700 Subject: [PATCH] Lintrunner to use python3 by default (#275) Instead of `python` which might be missing. Followup after https://github.com/pytorch/torchchat/pull/268 --- .lintrunner.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.lintrunner.toml b/.lintrunner.toml index 26bb43b0f..a76b5ef2d 100644 --- a/.lintrunner.toml +++ b/.lintrunner.toml @@ -4,7 +4,7 @@ merge_base_with = "origin/main" code = 'FLAKE8' include_patterns = ['**/*.py'] command = [ - 'python', + 'python3', '-m', 'lintrunner_adapters', 'run', @@ -13,7 +13,7 @@ command = [ '@{{PATHSFILE}}' ] init_command = [ - 'python', + 'python3', '-m', 'lintrunner_adapters', 'run', @@ -30,7 +30,7 @@ include_patterns = [ '**/*.pyi', ] command = [ - 'python', + 'python3', '-m', 'lintrunner_adapters', 'run', @@ -39,7 +39,7 @@ command = [ '@{{PATHSFILE}}' ] init_command = [ - 'python', + 'python3', '-m', 'lintrunner_adapters', 'run', @@ -58,7 +58,7 @@ include_patterns = [ '**/*.cpp', ] command = [ - 'python', + 'python3', '-m', 'lintrunner_adapters', 'run', @@ -69,7 +69,7 @@ command = [ '@{{PATHSFILE}}' ] init_command = [ - 'python', + 'python3', '-m', 'lintrunner_adapters', 'run',