Skip to content

Commit

Permalink
add group runner examples
Browse files Browse the repository at this point in the history
  • Loading branch information
CheeseCake87 committed Sep 7, 2024
1 parent a10507c commit fc02cf7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,15 @@ show-fixes = true
output-format = "full"

[tool.pyqwe]
gunicorn = "*:gunicorn flask_example.package:create_app"
gunicorn = "*:gunicorn flask_example.package:create_app()"
cmd_mod_flask = "*:flask --app flask_example/module.py run"
cmd_pac_flask = "*:flask --app flask_example/package run --port {{PORT}} --host {{HOST}}"
mod_flask = "flask_example.module:run"
pac_flask = "flask_example.package:run"
pac_flask_v1 = "*:flask --app flask_example:version_1 run"
pac_flask_v2 = "*:flask --app flask_example:version_2 run"
format = "*:ruff format"
build = "*shell:flit build"
publish = "*shell:export FLIT_USERNAME=__token__ && flit publish"
group = [
"*:flask --app flask_example/package run --port 5001 --debug",
"*:flask --app flask_example/package run --port 5002 --debug",
"flask_example.module:run",
"*:gunicorn flask_example.package:create_app()",
"*:flask --app flask_example/package run --port 5003"
]

0 comments on commit fc02cf7

Please sign in to comment.