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

Update README.md #6

Merged
merged 1 commit into from
Feb 3, 2024
Merged

Update README.md #6

merged 1 commit into from
Feb 3, 2024

Conversation

devcadotio
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Feb 3, 2024

************* Module Njalla.API
Njalla/API.py:22:0: C0304: Final newline missing (missing-final-newline)
Njalla/API.py:1:0: C0114: Missing module docstring (missing-module-docstring)
Njalla/API.py:1:0: C0103: Module name "API" doesn't conform to snake_case naming style (invalid-name)
Njalla/API.py:3:0: C0115: Missing class docstring (missing-class-docstring)
Njalla/API.py:3:0: R0903: Too few public methods (0/2) (too-few-public-methods)
Njalla/API.py:1:0: W0611: Unused import requests (unused-import)
************* Module Njalla.Domain
Njalla/Domain.py:9:0: C0304: Final newline missing (missing-final-newline)
Njalla/Domain.py:1:0: C0114: Missing module docstring (missing-module-docstring)
Njalla/Domain.py:1:0: C0103: Module name "Domain" doesn't conform to snake_case naming style (invalid-name)
Njalla/Domain.py:4:0: C0115: Missing class docstring (missing-class-docstring)
Njalla/Domain.py:4:0: R0903: Too few public methods (0/2) (too-few-public-methods)
Njalla/Domain.py:1:0: W0611: Unused import requests (unused-import)
Njalla/Domain.py:2:0: W0611: Unused NjallaAPI imported from API (unused-import)
************* Module Njalla.Server
Njalla/Server.py:9:0: C0304: Final newline missing (missing-final-newline)
Njalla/Server.py:1:0: C0114: Missing module docstring (missing-module-docstring)
Njalla/Server.py:1:0: C0103: Module name "Server" doesn't conform to snake_case naming style (invalid-name)
Njalla/Server.py:4:0: C0115: Missing class docstring (missing-class-docstring)
Njalla/Server.py:4:0: R0903: Too few public methods (0/2) (too-few-public-methods)
Njalla/Server.py:1:0: W0611: Unused import requests (unused-import)
Njalla/Server.py:2:0: W0611: Unused NjallaAPI imported from API (unused-import)
************* Module Njalla.User
Njalla/User.py:9:0: C0304: Final newline missing (missing-final-newline)
Njalla/User.py:1:0: C0114: Missing module docstring (missing-module-docstring)
Njalla/User.py:1:0: C0103: Module name "User" doesn't conform to snake_case naming style (invalid-name)
Njalla/User.py:4:0: C0115: Missing class docstring (missing-class-docstring)
Njalla/User.py:4:0: R0903: Too few public methods (0/2) (too-few-public-methods)
Njalla/User.py:1:0: W0611: Unused import requests (unused-import)
Njalla/User.py:2:0: W0611: Unused NjallaAPI imported from API (unused-import)
************* Module Njalla.VPN
Njalla/VPN.py:9:0: C0304: Final newline missing (missing-final-newline)
Njalla/VPN.py:1:0: C0114: Missing module docstring (missing-module-docstring)
Njalla/VPN.py:1:0: C0103: Module name "VPN" doesn't conform to snake_case naming style (invalid-name)
Njalla/VPN.py:4:0: C0115: Missing class docstring (missing-class-docstring)
Njalla/VPN.py:4:0: R0903: Too few public methods (0/2) (too-few-public-methods)
Njalla/VPN.py:1:0: W0611: Unused import requests (unused-import)
Njalla/VPN.py:2:0: W0611: Unused NjallaAPI imported from API (unused-import)
************* Module Njalla.Wallet
Njalla/Wallet.py:30:0: C0301: Line too long (107/100) (line-too-long)
Njalla/Wallet.py:37:0: C0301: Line too long (110/100) (line-too-long)
Njalla/Wallet.py:1:0: C0114: Missing module docstring (missing-module-docstring)
Njalla/Wallet.py:1:0: C0103: Module name "Wallet" doesn't conform to snake_case naming style (invalid-name)
Njalla/Wallet.py:5:0: C0115: Missing class docstring (missing-class-docstring)
Njalla/Wallet.py:45:12: W3101: Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely (missing-timeout)
Njalla/Wallet.py:73:12: W3101: Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely (missing-timeout)
Njalla/Wallet.py:92:12: W3101: Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely (missing-timeout)
Njalla/Wallet.py:108:12: W3101: Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely (missing-timeout)
Njalla/Wallet.py:2:0: W0611: Unused NjallaAPI imported from API (unused-import)
************* Module Njalla.init
Njalla/init.py:13:0: C0301: Line too long (129/100) (line-too-long)
Njalla/init.py:29:0: C0304: Final newline missing (missing-final-newline)
************* Module Njalla
Njalla/init.py:1:0: C0114: Missing module docstring (missing-module-docstring)
Njalla/init.py:1:0: C0103: Module name "Njalla" doesn't conform to snake_case naming style (invalid-name)
Njalla/init.py:9:0: C0115: Missing class docstring (missing-class-docstring)
Njalla/init.py:24:8: C0103: Attribute name "API" doesn't conform to snake_case naming style (invalid-name)
Njalla/init.py:25:8: C0103: Attribute name "Domain" doesn't conform to snake_case naming style (invalid-name)
Njalla/init.py:26:8: C0103: Attribute name "Server" doesn't conform to snake_case naming style (invalid-name)
Njalla/init.py:27:8: C0103: Attribute name "User" doesn't conform to snake_case naming style (invalid-name)
Njalla/init.py:28:8: C0103: Attribute name "VPN" doesn't conform to snake_case naming style (invalid-name)
Njalla/init.py:29:8: C0103: Attribute name "Wallet" doesn't conform to snake_case naming style (invalid-name)
Njalla/init.py:9:0: R0903: Too few public methods (0/2) (too-few-public-methods)
************* Module tests.test_wallet
tests/test_wallet.py:1:0: R0801: Similar lines in 2 files
==Njalla.API:[4:20]
==Njalla.Wallet:[7:32]
self.api_key = api_key
self.base_url = "https://njal.la/api/1/"
self.headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "Njalla " + self.api_key,
"Referer": "https://njal.la/",
}
self.payment_shorts = {
"bitcoin": "btc",
"litecoin": "ltc",
"monero": "xmr",
"zcash": "zec",
"ethereum": "eth",
"paypal": "paypal"
} (duplicate-code)


Your code has been rated at 3.52/10

@devcadotio
Copy link
Contributor Author

fire code 🔥🔥🔥

@devcadotio devcadotio merged commit 1adbabd into main Feb 3, 2024
1 check passed
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.

1 participant