-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy path.lintrunner.toml
More file actions
43 lines (38 loc) · 826 Bytes
/
.lintrunner.toml
File metadata and controls
43 lines (38 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
merge_base_with = "origin/master"
[[linter]]
code = 'FLAKE8'
include_patterns = ['**/*.py', '**/*.py.test']
command = [
'python3',
'tools/linter/adapters/flake8_linter.py',
'--',
'@{{PATHSFILE}}'
]
[[linter]]
code = 'MYPY'
include_patterns = ['**/*.py', '**/*.py.test']
exclude_patterns = ['tools/**', 'conftest.py']
command = [
'python3',
'tools/linter/adapters/mypy_linter.py',
'--config=mypy.ini',
'--',
'@{{PATHSFILE}}'
]
[[linter]]
code = 'UFMT'
include_patterns = ['**/*.py', '**/*.pyi', '**/*.py.test']
command = [
'python3',
'tools/linter/adapters/ufmt_linter.py',
'--',
'@{{PATHSFILE}}'
]
is_formatter = true
[[linter]]
code = 'LINTRUNNER_VERSION'
include_patterns = ['**']
command = [
'python3',
'tools/linter/adapters/lintrunner_version_linter.py'
]