Skip to content

Commit cc0eba3

Browse files
committed
Lintrunner to use python3 by default (#275)
Instead of `python` which might be missing. Followup after pytorch/torchchat#268
1 parent d0751cd commit cc0eba3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.lintrunner.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ merge_base_with = "origin/main"
44
code = 'FLAKE8'
55
include_patterns = ['**/*.py']
66
command = [
7-
'python',
7+
'python3',
88
'-m',
99
'lintrunner_adapters',
1010
'run',
@@ -13,7 +13,7 @@ command = [
1313
'@{{PATHSFILE}}'
1414
]
1515
init_command = [
16-
'python',
16+
'python3',
1717
'-m',
1818
'lintrunner_adapters',
1919
'run',
@@ -30,7 +30,7 @@ include_patterns = [
3030
'**/*.pyi',
3131
]
3232
command = [
33-
'python',
33+
'python3',
3434
'-m',
3535
'lintrunner_adapters',
3636
'run',
@@ -39,7 +39,7 @@ command = [
3939
'@{{PATHSFILE}}'
4040
]
4141
init_command = [
42-
'python',
42+
'python3',
4343
'-m',
4444
'lintrunner_adapters',
4545
'run',
@@ -58,7 +58,7 @@ include_patterns = [
5858
'**/*.cpp',
5959
]
6060
command = [
61-
'python',
61+
'python3',
6262
'-m',
6363
'lintrunner_adapters',
6464
'run',
@@ -69,7 +69,7 @@ command = [
6969
'@{{PATHSFILE}}'
7070
]
7171
init_command = [
72-
'python',
72+
'python3',
7373
'-m',
7474
'lintrunner_adapters',
7575
'run',

0 commit comments

Comments
 (0)