Skip to content
Snippets Groups Projects
Commit 3f3bf367 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

uwsgi-python: Ignore false-positive linter errors

Sorta false-positive, anyway.
parent 3e5ad4b5
No related branches found
No related tags found
1 merge request!51uwsgi-python: Add schilder2000
Pipeline #7791 passed
This commit is part of merge request !51. Comments created here will be created in the context of that merge request.
......@@ -155,7 +155,7 @@
- app_deploy_key is defined
- app_deploy_key|string != '' # noqa 602
- (app_git_pip is not defined) or (not app_git_pip)
- app_pip_package is not defined or app_pip_package == ""
- app_pip_package is not defined or app_pip_package == "" # noqa 602
tags:
- uwsgi-app
- "{{ app.app }}"
......@@ -178,7 +178,7 @@
- app_deploy_key|string != '' # noqa 602
- (app_git_pip is not defined) or (not app_git_pip)
- app_git_url|string != '' # noqa 602
- app_pip_package is not defined or app_pip_package == ""
- app_pip_package is not defined or app_pip_package == "" # noqa 602
register: git
tags:
- uwsgi-app
......@@ -222,7 +222,7 @@
- app_requirements_file|string != '' # noqa 602
- (app_git_pip is not defined) or (not app_git_pip)
- app_lang == "python"
- app_pip_package is not defined or app_pip_package == ""
- app_pip_package is not defined or app_pip_package == "" # noqa 602
tags:
- uwsgi-app
- "{{ app.app }}"
......@@ -241,7 +241,7 @@
- app_git_pip is defined
- app_git_pip
- app_lang == "python"
- app_pip_package is not defined or app_pip_package == ""
- app_pip_package is not defined or app_pip_package == "" # noqa 602
tags:
- uwsgi-app
- "{{ app.app }}"
......@@ -266,7 +266,7 @@
when:
- app_lang == "python"
- app_pip_package is defined
- app_pip_package != ""
- app_pip_package != "" # noqa 602
tags:
- uwsgi-app
- "{{ app.app }}"
......
......@@ -33,7 +33,8 @@
notify:
- restart uwsgi instance {{ app.instance }}
- name: Migrate database
# Skip linter 301 as this command is idempotent per se
- name: Migrate database # noqa 301
command: "{{ app_venv }}/bin/flask alembic upgrade head"
environment:
FLASK_APP: schilder2000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment