-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
34 lines (27 loc) · 1.07 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[tool.poetry]
name = "devgag"
version = "0.1.0"
description = ""
authors = ["Sandun <SandunWebDev@gmail.com>"]
# Scripts to run Thirdparty Pacakges/Etc (Ex. poetry run task test)
[tool.taskipy.tasks]
# Code quality checks for each sub project. (Mainly used for commit hooks and CI/CD)
code-quality--backend-main = "cd apps/backend-main && . .venv/bin/activate && poetry run task full-code-quality-check"
code-quality--frontend-main = "cd apps/frontend-main && npm run full-code-quality-check"
# PreCommit Hooks
precommit-install = "poetry run pre-commit install"
precommit-runinall = "poetry run pre-commit run --all-files"
# Initial Setup
initial-setup = "poetry install && task precommit-install && cd apps/backend-main && . .venv/bin/activate && poetry run task initial-setup && cd ../frontend-main && npm install"
[virtualenvs]
create = true
in-project = true
[tool.poetry.dependencies]
python = "^3.9"
taskipy = "^1.9.0"
[tool.poetry.dev-dependencies]
pre-commit = "^2.15.0"
isort = "^5.9.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"