Skip to content

Commit a363766

Browse files
committed
Add more pylint ignores
1 parent b218852 commit a363766

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,15 @@
2424
// "customizations": {},
2525

2626
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
27-
"remoteUser": "root"
27+
"remoteUser": "root",
28+
"customizations": {
29+
"vscode": {
30+
"extensions": [
31+
"tamasfe.even-better-toml",
32+
"ms-python.python",
33+
"ms-python.vscode-pylance",
34+
"EditorConfig.EditorConfig"
35+
]
36+
}
37+
}
2838
}

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,14 @@ line-length = 80
3737
[tool.pylint.main]
3838
analyse-fallback-blocks = true
3939
py-version = "3.7"
40+
extension-pkg-allow-list=["lxml"]
4041

4142
[tool.pylint.messages_control]
4243
disable = [
4344
"raw-checker-failed",
45+
"no-else-return",
46+
"nested-min-max",
47+
"bad-mcs-classmethod-argument",
4448
"bad-inline-option",
4549
"locally-disabled",
4650
"file-ignored",
@@ -89,6 +93,7 @@ disable = [
8993
"too-many-return-statements",
9094
"line-too-long",
9195
"too-many-instance-attributes",
96+
"broad-exception-raised",
9297
"use-implicit-booleaness-not-comparison",
9398
]
9499

0 commit comments

Comments
 (0)