Skip to content

Commit cb2cfef

Browse files
committed
chore: depricate docker-compose and lint fix
1 parent f957b5a commit cb2cfef

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
pip install .
4646
pip install -r requirements_dev.txt
4747
- name: Deploy app
48-
run: docker-compose up -d --build
48+
run: docker compose up -d --build
4949
- name: Wait for app startup
5050
run: sleep 20
5151
- name: Run integration tests

pro_tes/gunicorn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
forwarded_allow_ips = "*" # pylint: disable=invalid-name
1818

1919
# Set Gunicorn bind address
20-
bind = f"{app_config.server.host}:{app_config.server.port}"
20+
BIND = f"{app_config.server.host}:{app_config.server.port}"
2121

2222
# Source environment variables for Gunicorn workers
2323
raw_env = [

pro_tes/tasks/track_task_progress.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,17 @@
2020

2121
# pylint: disable-msg=too-many-locals
2222
# pylint: disable=unsubscriptable-object
23+
# pylint: disable=too-many-arguments
24+
# pylint: disable=too-many-positional-arguments
25+
# pylint: disable=unused-argument
2326
@celery.task(
2427
name="tasks.track_run_progress",
2528
bind=True,
2629
ignore_result=True,
2730
track_started=True,
2831
)
29-
def task__track_task_progress( # pylint: disable=too-many-arguments
30-
self, # pylint: disable=unused-argument
32+
def task__track_task_progress(
33+
self,
3134
worker_id: str,
3235
remote_host: str,
3336
remote_base_path: str,

0 commit comments

Comments
 (0)