-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from Aidbox/python-lint
Lint Python on python snapshots or python resources change
- Loading branch information
Showing
5 changed files
with
109 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,4 @@ META/* | |
!META/.gitkeep | ||
|
||
resources/sdk/typescript/node_modules/ | ||
resources/sdk/python/aidbox.egg-info/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[tool.pylint."messages control"] | ||
# Only show warnings with the listed confidence levels. Leave empty to show all. | ||
# Valid levels: HIGH, CONTROL_FLOW, INFERENCE, INFERENCE_FAILURE, UNDEFINED. | ||
confidence = ["HIGH", "CONTROL_FLOW", "INFERENCE", "INFERENCE_FAILURE", "UNDEFINED"] | ||
|
||
# Disable the message, report, category or checker with the given id(s). You can | ||
# either give multiple identifiers separated by comma (,) or put this option | ||
# multiple times (only on the command line, not in the configuration file where | ||
# it should appear only once). You can also use "--disable=all" to disable | ||
# everything first and then re-enable specific checks. For example, if you want | ||
# to run only the similarities checker, you can use "--disable=all | ||
# --enable=similarities". If you want to run only the classes checker, but have | ||
# no Warning level messages displayed, use "--disable=all --enable=classes | ||
# --disable=W". | ||
disable = [ | ||
"raw-checker-failed", "bad-inline-option", | ||
"locally-disabled", "file-ignored", "suppressed-message", | ||
"useless-suppression", "deprecated-pragma", | ||
"use-implicit-booleaness-not-comparison-to-string", | ||
"use-implicit-booleaness-not-comparison-to-zero", | ||
"use-symbolic-message-instead", | ||
|
||
|
||
"missing-class-docstring", "wildcard-import", | ||
"too-few-public-methods", "unused-wildcard-import", | ||
"missing-final-newline", "invalid-name", | ||
"relative-beyond-top-level", "missing-module-docstring", | ||
"duplicate-code", "line-too-long" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters