Skip to content

Commit

Permalink
style(ruff): remove noqa for PT004
Browse files Browse the repository at this point in the history
Signed-off-by: David Wallace <[email protected]>
  • Loading branch information
MyPyDavid committed Feb 24, 2025
1 parent 24fd9ef commit fdb479c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rdmo/accounts/tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def reload_urls(*app_names: str, root_urlconf = None) -> None:


@pytest.fixture
def enable_terms_of_use(settings): # noqa: PT004
def enable_terms_of_use(settings):
settings.ACCOUNT_TERMS_OF_USE = True
reload_urls('rdmo.accounts.urls')

Expand All @@ -49,7 +49,7 @@ def enable_terms_of_use(settings): # noqa: PT004


@pytest.fixture
def enable_socialaccount(settings): # noqa: PT004
def enable_socialaccount(settings):
# Arrange: this fixture enable and initializes the allauth.sociallaccount
# INSTALLED_APPS already has "allauth.socialaccount","allauth.socialaccount.providers.dummy"
settings.SOCIALACCOUNT = True
Expand Down
4 changes: 2 additions & 2 deletions rdmo/projects/tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@


@pytest.fixture
def enable_project_views_sync(settings): # noqa:PT004
def enable_project_views_sync(settings):
settings.PROJECT_VIEWS_SYNC = True
apps.get_app_config('projects').ready()

@pytest.fixture
def enable_project_tasks_sync(settings): # noqa:PT004
def enable_project_tasks_sync(settings):
settings.PROJECT_TASKS_SYNC = True
apps.get_app_config('projects').ready()

Expand Down

0 comments on commit fdb479c

Please sign in to comment.