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

Pylint issues #1

Open
asirihewage opened this issue Feb 13, 2023 · 0 comments
Open

Pylint issues #1

asirihewage opened this issue Feb 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@asirihewage
Copy link
Owner

************* Module languages
languages.py:119:0: C0305: Trailing newlines (trailing-newlines)
languages.py:117:0: C0116: Missing function or method docstring (missing-function-docstring)
languages.py:118:27: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
************* Module pychatgptintl._main
pychatgptintl/_main.py:34:0: C0301: Line too long (101/100) (line-too-long)
pychatgptintl/_main.py:36:0: C0301: Line too long (110/100) (line-too-long)
pychatgptintl/_main.py:1:0: C0114: Missing module docstring (missing-module-docstring)
pychatgptintl/_main.py:4:0: E0401: Unable to import 'requests' (import-error)
pychatgptintl/_main.py:8:0: C0115: Missing class docstring (missing-class-docstring)
pychatgptintl/_main.py:30:4: C0116: Missing function or method docstring (missing-function-docstring)
pychatgptintl/_main.py:39:15: W0718: Catching too general exception Exception (broad-exception-caught)
pychatgptintl/_main.py:39:8: C0103: Variable name "er" doesn't conform to snake_case naming style (invalid-name)
pychatgptintl/_main.py:8:0: R0903: Too few public methods (1/2) (too-few-public-methods)
pychatgptintl/_main.py:4:0: C0411: third party import "import requests" should be placed before "from languages import is_supported" (wrong-import-order)
pychatgptintl/_main.py:5:0: C0411: standard import "import json" should be placed before "import requests" (wrong-import-order)
************* Module pychatgptintl.translator
pychatgptintl/translator.py:11:0: C0301: Line too long (115/100) (line-too-long)
pychatgptintl/translator.py:13:0: C0301: Line too long (114/100) (line-too-long)
pychatgptintl/translator.py:16:0: C0301: Line too long (113/100) (line-too-long)
pychatgptintl/translator.py:1:0: C0114: Missing module docstring (missing-module-docstring)
pychatgptintl/translator.py:1:0: E0401: Unable to import 'requests' (import-error)
pychatgptintl/translator.py:4:0: C0115: Missing class docstring (missing-class-docstring)
pychatgptintl/translator.py:27:16: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
pychatgptintl/translator.py:4:0: R0903: Too few public methods (1/2) (too-few-public-methods)
************* Module setup
setup.py:10:0: C0301: Line too long (117/100) (line-too-long)
setup.py:12:0: C0301: Line too long (118/100) (line-too-long)
setup.py:1:0: C0114: Missing module docstring (missing-module-docstring)

@asirihewage asirihewage added the enhancement New feature or request label Feb 13, 2023
@asirihewage asirihewage self-assigned this Feb 13, 2023
@asirihewage asirihewage added this to the 1.0.0 milestone Feb 13, 2023
@asirihewage asirihewage pinned this issue Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant