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

ALBS-1168: Index git repositories instead of HTML pages #5

Merged
merged 4 commits into from
Dec 5, 2023

Conversation

anfimovdm
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Nov 22, 2023

Total coverage

Coverage report for changed files •
FileStmtsMissCoverMissing
cacher.py1315855%61–66, 70–74, 84–87, 90, 96–99, 102–104, 112–117, 124–127, 136–137, 144–147, 158–159, 173, 188, 192–193, 201, 205–207, 212–215, 227–228, 240, 259–260
constants.py60100% 
models.py270100% 
utils.py17382%18–19, 49
TOTAL1816166% 

Tests Skipped Failures Errors Time
3 0 💤 0 ❌ 0 🔥 0.946s ⏱️

Copy link

github-actions bot commented Nov 22, 2023

pylint output
************* Module alma_tests_cacher.utils
alma_tests_cacher/utils.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alma_tests_cacher/utils.py:8:0: E0611: No name 'constants' in module 'alma_tests_cacher' (no-name-in-module)
alma_tests_cacher/utils.py:9:0: E0611: No name 'models' in module 'alma_tests_cacher' (no-name-in-module)
alma_tests_cacher/utils.py:12:0: C0116: Missing function or method docstring (missing-function-docstring)
alma_tests_cacher/utils.py:13:9: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
alma_tests_cacher/utils.py:17:0: C0116: Missing function or method docstring (missing-function-docstring)
alma_tests_cacher/utils.py:31:0: C0116: Missing function or method docstring (missing-function-docstring)
alma_tests_cacher/utils.py:45:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alma_tests_cacher
alma_tests_cacher.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alma_tests_cacher.py:9:0: C0116: Missing function or method docstring (missing-function-docstring)
************* Module alma_tests_cacher.cacher
alma_tests_cacher/cacher.py:130:0: C0301: Line too long (87/80) (line-too-long)
alma_tests_cacher/cacher.py:150:0: C0301: Line too long (87/80) (line-too-long)
alma_tests_cacher/cacher.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alma_tests_cacher/cacher.py:11:0: E0611: No name 'constants' in module 'alma_tests_cacher' (no-name-in-module)
alma_tests_cacher/cacher.py:17:0: E0611: No name 'models' in module 'alma_tests_cacher' (no-name-in-module)
alma_tests_cacher/cacher.py:18:0: E0611: No name 'utils' in module 'alma_tests_cacher' (no-name-in-module)
alma_tests_cacher/cacher.py:25:0: C0115: Missing class docstring (missing-class-docstring)
alma_tests_cacher/cacher.py:25:0: R0902: Too many instance attributes (8/7) (too-many-instance-attributes)
alma_tests_cacher/cacher.py:26:4: R0913: Too many arguments (7/5) (too-many-arguments)
alma_tests_cacher/cacher.py:46:4: C0116: Missing function or method docstring (missing-function-docstring)
alma_tests_cacher/cacher.py:58:4: C0116: Missing function or method docstring (missing-function-docstring)
alma_tests_cacher/cacher.py:65:19: W0718: Catching too general exception Exception (broad-exception-caught)
alma_tests_cacher/cacher.py:69:4: C0116: Missing function or method docstring (missing-function-docstring)
alma_tests_cacher/cacher.py:76:4: C0116: Missing function or method docstring (missing-function-docstring)
alma_tests_cacher/cacher.py:76:4: R0913: Too many arguments (6/5) (too-many-arguments)
alma_tests_cacher/cacher.py:101:4: C0116: Missing function or method docstring (missing-function-docstring)
alma_tests_cacher/cacher.py:112:15: W0718: Catching too general exception Exception (broad-exception-caught)
alma_tests_cacher/cacher.py:119:4: C0116: Missing function or method docstring (missing-function-docstring)
alma_tests_cacher/cacher.py:136:15: W0718: Catching too general exception Exception (broad-exception-caught)
alma_tests_cacher/cacher.py:139:4: C0116: Missing function or method docstring (missing-function-docstring)
alma_tests_cacher/cacher.py:158:15: W0718: Catching too general exception Exception (broad-exception-caught)
alma_tests_cacher/cacher.py:161:4: C0116: Missing function or method docstring (missing-function-docstring)
alma_tests_cacher/cacher.py:161:4: R0914: Too many local variables (17/15) (too-many-locals)
alma_tests_cacher/cacher.py:250:4: C0116: Missing function or method docstring (missing-function-docstring)
alma_tests_cacher/cacher.py:259:23: W0718: Catching too general exception Exception (broad-exception-caught)
************* Module alma_tests_cacher.constants
alma_tests_cacher/constants.py:1:0: C0114: Missing module docstring (missing-module-docstring)
************* Module alma_tests_cacher.models
alma_tests_cacher/models.py:1:0: C0114: Missing module docstring (missing-module-docstring)
alma_tests_cacher/models.py:6:0: E0611: No name 'constants' in module 'alma_tests_cacher' (no-name-in-module)
alma_tests_cacher/models.py:14:0: C0115: Missing class docstring (missing-class-docstring)
alma_tests_cacher/models.py:21:0: C0115: Missing class docstring (missing-class-docstring)
alma_tests_cacher/models.py:31:0: C0115: Missing class docstring (missing-class-docstring)
************* Module tests.test_cacher
tests/test_cacher.py:1:0: C0114: Missing module docstring (missing-module-docstring)
tests/test_cacher.py:7:0: E0611: No name 'cacher' in module 'alma_tests_cacher' (no-name-in-module)
tests/test_cacher.py:8:0: E0611: No name 'models' in module 'alma_tests_cacher' (no-name-in-module)
tests/test_cacher.py:9:0: E0611: No name 'utils' in module 'alma_tests_cacher' (no-name-in-module)
tests/test_cacher.py:13:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_cacher.py:20:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_cacher.py:20:27: W0621: Redefining name 'default_vars' from outer scope (line 13) (redefined-outer-name)
tests/test_cacher.py:22:4: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
tests/test_cacher.py:27:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_cacher.py:32:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_cacher.py:32:11: W0621: Redefining name 'config' from outer scope (line 20) (redefined-outer-name)
tests/test_cacher.py:43:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_cacher.py:55:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_cacher.py:75:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_cacher.py:75:16: W0621: Redefining name 'config' from outer scope (line 20) (redefined-outer-name)
tests/test_cacher.py:83:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_cacher.py:83:21: W0621: Redefining name 'cacher' from outer scope (line 32) (redefined-outer-name)
tests/test_cacher.py:88:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_cacher.py:90:4: W0621: Redefining name 'repo_payload' from outer scope (line 43) (redefined-outer-name)
tests/test_cacher.py:92:0: W0613: Unused argument 'args' (unused-argument)
tests/test_cacher.py:92:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/test_cacher.py:99:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_cacher.py:100:0: W0613: Unused argument 'args' (unused-argument)
tests/test_cacher.py:100:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/test_cacher.py:107:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_cacher.py:111:8: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
tests/test_cacher.py:108:0: W0613: Unused argument 'kwargs' (unused-argument)
tests/test_cacher.py:125:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/test_cacher.py:126:4: W0621: Redefining name 'cacher' from outer scope (line 32) (redefined-outer-name)
tests/test_cacher.py:128:4: W0621: Redefining name 'expected_payload' from outer scope (line 55) (redefined-outer-name)
tests/test_cacher.py:131:25: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)

-----------------------------------
Your code has been rated at 5.46/10

@Korulag Korulag merged commit f5448f2 into master Dec 5, 2023
3 checks passed
@Korulag Korulag deleted the albs-1168 branch December 5, 2023 12:58
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.

3 participants