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

frontend: fix SAWarnings about autoflush #3654

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nikromen
Copy link
Member

@nikromen nikromen commented Mar 3, 2025

No description provided.

# Admin can create a whatever group project
self.u1.admin = True
CoprsLogic.add(name="p3", group=self.g1, user=self.u1, selected_chroots=["fedora-rawhide-x86_64"])
with f_db.session.no_autoflush:

Check warning

Code scanning / vcs-diff-lint

TestCoprsLogicAdminFeatures.test_add_group_project: Undefined variable 'f_db' Warning test

TestCoprsLogicAdminFeatures.test_add_group_project: Undefined variable 'f_db'
# Admin can create a whatever group project
self.u1.admin = True
CoprsLogic.add(name="p3", group=self.g1, user=self.u1, selected_chroots=["fedora-rawhide-x86_64"])
with f_db.session.no_autoflush:

Check warning

Code scanning / vcs-diff-lint

Undefined name f_db Warning test

Undefined name f\_db
Copy link

github-actions bot commented Mar 3, 2025

Pull Request validation

Failed

🔴 Failed or pending checks - RPM package copr-frontend[failure],python-lint-job[failure]
🔴 Review - Missing review from a member (2 required)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant