Skip to content

replace URL() constructors #4750

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

Merged
merged 17 commits into from
Apr 8, 2025
Merged
Prev Previous commit
Next Next commit
add flake8 error suppression
  • Loading branch information
vladak committed Apr 8, 2025
commit 0a7a75a52ecf4eec8e86d86129b8d79900548bc6
6 changes: 3 additions & 3 deletions docker/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def index():
API endpoint for triggering reindex.
:return: message describing the outcome
"""
global periodic_timer
global periodic_timer # noqa: F824

if periodic_timer:
logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -360,7 +360,7 @@ def indexer_no_projects(logger, uri, config_path, extra_indexer_options):
indexer.execute()

logger.info("Waiting for reindex to be triggered")
global periodic_timer
global periodic_timer # noqa: F824
periodic_timer.wait_for_event()


Expand Down Expand Up @@ -420,7 +420,7 @@ def project_syncer(logger, loglevel, uri, config_path, numworkers, env, api_time
save_config(logger, uri, config_path, api_timeout)

logger.info("Waiting for reindex to be triggered")
global periodic_timer
global periodic_timer # noqa: F824
periodic_timer.wait_for_event()


Expand Down