forked from NVIDIA/nim-anywhere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
41 lines (36 loc) · 1.01 KB
/
pyproject.toml
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
# Pylint Configuration
[tool.pylint.MAIN]
load-plugins = "pylint.extensions.bad_builtin"
[tool.pylint.'MESSAGES CONTROL']
disable=["raw-checker-failed",
"bad-inline-option",
"locally-disabled",
"file-ignored",
"suppressed-message",
"useless-suppression",
"deprecated-pragma",
"use-symbolic-message-instead",
"wrong-spelling-in-comment",
"redefined-builtin",
"unsupported-binary-operation",
"duplicate-code"]
enable=["c-extension-no-member", "broad-exception-caught"]
[tool.pylint.FORMAT]
max-line-length=120
max-module-lines=500
max-args=8
[tool.pylint.DEPRECATED_BUILTINS]
bad-functions=["print", "input"]
# Flake8 Configuration
[tool.flake8]
max-line-length = 120
ignore = ["E203", "W503"]
enable = ["W504"]
# mypy Configuration
[tool.mypy]
strict = true
implicit_optional = true
follow_imports = "silent"
ignore_missing_imports = true
show_column_numbers = true
disable_error_code = ["no-untyped-call", "override", "misc", "import-untyped"]