Skip to content

Commit a89873b

Browse files
committed
Drop pylint
1 parent df5b711 commit a89873b

File tree

2 files changed

+1
-59
lines changed

2 files changed

+1
-59
lines changed

.github/workflows/build_and_test_python.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ jobs:
5151
run: |
5252
poetry run mypy
5353
54-
- name: Lint with pylint
55-
run: |
56-
poetry run pylint
57-
if: success() || failure()
58-
5954
- name: Lint with Ruff
6055
run: |
6156
poetry run ruff check . --output-format=github

pyproject.toml

Lines changed: 1 addition & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -197,57 +197,4 @@ disallow_untyped_calls = false
197197

198198
[[tool.mypy.overrides]]
199199
module = ["configuration.argparse_extensions"]
200-
disable_error_code = ["arg-type"]
201-
202-
[tool.pylint.MAIN]
203-
py-version = "3.11"
204-
ignore = ["tests"]
205-
fail-on = ["I"]
206-
207-
[tool.pylint.BASIC]
208-
good-names = ["i", "j", "k", "ex", "_", "T", "x", "y", "id", "tg"]
209-
210-
[tool.pylint."MESSAGES CONTROL"]
211-
# Reasons disabled:
212-
# format - handled by black
213-
# duplicate-code - unavoidable
214-
# cyclic-import - doesn't test if both import on load
215-
# abstract-class-little-used - prevents from setting right foundation
216-
# too-many-* - are not enforced for the sake of readability
217-
# too-few-* - same as too-many-*
218-
# abstract-method - with intro of async there are always methods missing
219-
# inconsistent-return-statements - doesn't handle raise
220-
# too-many-ancestors - it's too strict.
221-
# wrong-import-order - isort guards this
222-
# ---
223-
# Pylint CodeStyle plugin
224-
# consider-using-namedtuple-or-dataclass - too opinionated
225-
# consider-using-assignment-expr - decision to use := better left to devs
226-
disable = [
227-
"format",
228-
"cyclic-import",
229-
"duplicate-code",
230-
"too-many-arguments",
231-
"too-many-instance-attributes",
232-
"too-many-locals",
233-
"too-many-ancestors",
234-
"too-few-public-methods",
235-
"invalid-name",
236-
# Remove later
237-
"missing-function-docstring",
238-
"missing-module-docstring",
239-
"missing-class-docstring",
240-
"broad-exception-caught",
241-
"logging-fstring-interpolation",
242-
"fixme"
243-
]
244-
enable = ["useless-suppression", "use-symbolic-message-instead"]
245-
246-
[tool.pylint.REPORTS]
247-
score = false
248-
249-
[tool.pylint.FORMAT]
250-
expected-line-ending-format = "LF"
251-
252-
[tool.pylint.EXCEPTIONS]
253-
overgeneral-exceptions = ["builtins.BaseException", "builtins.Exception"]
200+
disable_error_code = ["arg-type"]

0 commit comments

Comments
 (0)