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

Bootstrap only system user, almalinux team and product #753

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

javihernandez
Copy link
Member

Copy link

github-actions bot commented Mar 14, 2024

pylint output
************* Module scripts.bootstrap_permissions
scripts/bootstrap_permissions.py:1:0: C0114: Missing module docstring (missing-module-docstring)
scripts/bootstrap_permissions.py:10:0: C0413: Import "from alws import database, models" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_permissions.py:11:0: C0413: Import "from alws.constants import DEFAULT_PRODUCT, DEFAULT_TEAM, SYSTEM_USER_NAME" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_permissions.py:16:0: C0413: Import "from alws.crud.products import create_product" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_permissions.py:17:0: C0413: Import "from alws.crud.teams import create_team" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_permissions.py:18:0: C0413: Import "from alws.schemas.product_schema import ProductCreate" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_permissions.py:19:0: C0413: Import "from alws.schemas.team_schema import TeamCreate" should be placed at the top of the module (wrong-import-position)
scripts/bootstrap_permissions.py:22:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/bootstrap_permissions.py:48:0: C0116: Missing function or method docstring (missing-function-docstring)
scripts/bootstrap_permissions.py:5:0: W0611: Unused update imported from sqlalchemy (unused-import)

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

Copy link

github-actions bot commented Mar 14, 2024

Total coverage

Coverage report for changed files •
FileStmtsMissCoverMissing
TOTAL9857432356% 
report-only-changed-files is enabled. No files were changed during this commit :)

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

@Korulag Korulag merged commit 67007f8 into AlmaLinux:master Mar 14, 2024
4 checks 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.

Duplicate key error while bootstrapping permissions
2 participants