Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minhtrung23fix pylint #44

Open
wants to merge 105 commits into
base: dev
Choose a base branch
from

Conversation

minhtrung23
Copy link

No description provided.

src\melt\tools\pipelines\__information_retrieval.py:6:0: R0914: Too many local variables (35/15) (too-many-locals)
src\melt\tools\pipelines\__language_modeling.py:5:0: R0914: Too many local variables (21/15) (too-many-locals)
src\melt\tools\pipelines\__math.py:5:0: R0914: Too many local variables (25/15) (too-many-locals)
src\melt\tools\pipelines\__multiple_choice.py:6:0: R0914: Too many local variables (36/15) (too-many-locals)
src\melt\tools\pipelines\__multiple_choice.py:6:0: R0915: Too many statements (58/50) (too-many-statements)
src\melt\tools\pipelines\__multiple_choice_sentiment.py:6:0: R0914: Too many local variables (28/15) (too-many-locals)
src\melt\tools\pipelines\__multiple_choice_text_classification.py:6:0: R0914: Too many local variables (28/15) (too-many-locals)
src\melt\tools\pipelines\__multiple_choice_toxicity.py:5:0: R0914: Too many local variables (28/15) (too-many-locals)
src\melt\tools\pipelines\__question_answering.py:5:0: R0914: Too many local variables (21/15) (too-many-locals)
src\melt\tools\pipelines\__question_answering_without_context.py:6:0: R0914: Too many local variables (25/15) (too-many-locals)
src\melt\tools\pipelines\__reasoning.py:5:0: R0914: Too many local variables (24/15) (too-many-locals)
src\melt\tools\pipelines\__summarization.py:6:0: R0914: Too many local variables (22/15) (too-many-locals)
src\melt\tools\pipelines\__translation.py:5:0: R0914: Too many local variables (20/15) (too-many-locals)
src\melt\tools\pipelines\pipelines.py:32:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)        
src\melt\tools\pipelines\pipelines.py:38:12: C0103: Variable name "GenerationConfig" doesn't conform to snake_case naming style (invalid-name)
src\melt\tools\pipelines\pipelines.py:40:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)        
src\melt\tools\pipelines\pipelines.py:43:12: C0103: Variable name "LLM_TEMPLATE" doesn't conform to snake_case naming style (invalid-name)
src\melt\tools\pipelines\pipelines.py:45:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)        
src\melt\tools\pipelines\pipelines.py:51:12: C0103: Variable name "METRIC_CONFIG" doesn't conform to snake_case naming style (invalid-name)
src\melt\tools\pipelines\pipelines.py:93:31: E1120: No value for argument 'config' in constructor call (no-value-for-parameter)
src\melt\tools\pipelines\pipelines.py:98:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
src\melt\tools\pipelines\pipelines.py:95:4: R0911: Too many return statements (12/6) (too-many-return-statements)
src\melt\tools\pipelines\pipelines.py:95:4: R0912: Too many branches (13/12) (too-many-branches)
src\melt\tools\pipelines\pipelines.py:146:4: C0116: Missing function or method docstring (missing-function-docstring)
src\melt\tools\pipelines\pipelines.py:146:4: R0913: Too many arguments (8/5) (too-many-arguments)
src\melt\tools\pipelines\pipelines.py:156:8: W0201: Attribute 'generation_results_file' defined outside __init__ (attribute-defined-outside-init)
src\melt\tools\pipelines\pipelines.py:88:31: E1120: No value for argument 'config' in constructor call (no-value-for-parameter)        
src\melt\tools\pipelines\pipelines.py:112:4: R0913: Too many arguments (8/5) (too-many-arguments)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants