-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
50 lines (43 loc) · 926 Bytes
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[tool.poetry]
name = "python-template"
version = "0.0.0"
description = "A simple python template"
authors = ["Duong Vinh <[email protected]>"]
package-mode = false
[tool.poe.tasks]
dev = "python app.py"
lint = "ruff check --fix"
pretty = "ruff format"
test = "echo You are running test command"
deploy = "echo You are running deploy command"
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
[tool.ruff]
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.poetry.dependencies]
python = "^3.12"
environs = "^11.0.0"
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.30.0"
mypy = "^1.10.1"
pre-commit = "^4.0.0"
ruff = "^0.7.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"