mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-31 06:10:31 -05:00
fix: Lint Python code with ruff (#3799)
This commit is contained in:
@@ -24,7 +24,7 @@ class ABCMultiTenantTestCase(ABC):
|
||||
@abstractmethod
|
||||
def cleanup(self) -> None: ...
|
||||
|
||||
def __enter__(self):
|
||||
def __enter__(self): # noqa: B027
|
||||
pass
|
||||
|
||||
def __exit__(self, exc_type, exc_val, exc_tb):
|
||||
|
||||
@@ -65,8 +65,8 @@ def test_multitenant_cases_same_named_resources(
|
||||
):
|
||||
"""
|
||||
This test is used to ensure that the same resource can be created with the same values in different tenants.
|
||||
i.e. the same category can exist in multiple groups. This is important to validate that the compound unique constraints
|
||||
are operating in SQLAlchemy correctly.
|
||||
i.e. the same category can exist in multiple groups. This is important to validate that the compound unique
|
||||
constraints are operating in SQLAlchemy correctly.
|
||||
"""
|
||||
user1 = multitenants.user_one
|
||||
user2 = multitenants.user_two
|
||||
|
||||
Reference in New Issue
Block a user