Skip to content

Commit ca315b5

Browse files
author
Justin Chu
committed
Remove pylint
Signed-off-by: Justin Chu <justinchuby@noreply.github.com>
1 parent 58effa4 commit ca315b5

File tree

4 files changed

+1
-74
lines changed

4 files changed

+1
-74
lines changed

.lintrunner.toml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -98,42 +98,6 @@ init_command = [
9898
]
9999
is_formatter = true
100100

101-
[[linter]]
102-
code = 'PYLINT'
103-
include_patterns = [
104-
'**/*.py',
105-
]
106-
exclude_patterns = [
107-
'docs/**',
108-
'examples/**',
109-
'onnxscript/_internal/converter_test.py',
110-
'onnxscript/optimizer/**', # FIXME
111-
'onnxscript/rewriter/**', # FIXME
112-
'tests/functions/**',
113-
'tests/models/**',
114-
'tests/onnx_backend_test_code/**',
115-
]
116-
command = [
117-
'python',
118-
'-m',
119-
'lintrunner_adapters',
120-
'run',
121-
'pylint_linter',
122-
'--rcfile=pyproject_pylint.toml',
123-
'--show-disable',
124-
'--',
125-
'@{{PATHSFILE}}'
126-
]
127-
init_command = [
128-
'python',
129-
'-m',
130-
'lintrunner_adapters',
131-
'run',
132-
'pip_init',
133-
'--dry-run={{DRYRUN}}',
134-
'--requirement=requirements/lintrunner/requirements.txt',
135-
]
136-
137101
[[linter]]
138102
code = 'EDITORCONFIG-CHECKER'
139103
include_patterns = ['**']

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ module = [
8686
ignore_errors = true
8787

8888
[tool.pylint.messages_control]
89-
# NOTE: This list is for vscode. Add new disables in pyproject_pylint.toml for lintrunner
90-
# Exclude patterns should be modified in .lintrunner.toml
89+
# NOTE: This list is for vscode. Pylint is removed from CI
9190
disable = [
9291
"consider-using-from-import",
9392
"format",

pyproject_pylint.toml

Lines changed: 0 additions & 34 deletions
This file was deleted.

requirements/lintrunner/requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@ ruff==0.15.1
55
# MYPY
66
mypy==1.10.1
77
types-PyYAML==6.0.12.20250915
8-
# PYLINT
9-
pylint==3.3.9
108
# EDITORCONFIG-CHECKER
119
editorconfig-checker==3.4.1

0 commit comments

Comments
 (0)