-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathpyproject.toml
54 lines (49 loc) · 1.87 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[project]
name = "fastapi-do-zero"
version = "0.1.0"
description = ""
authors = [
{name = "dunossauro",email = "[email protected]"}
]
readme = "README.md"
requires-python = ">=3.11,<4.0"
dependencies = [
"mkdocs (>=1.6.1,<2.0.0)",
"mkdocs-material (>=9.5.49,<10.0.0)",
"taskipy (>=1.14.1,<2.0.0)",
"mkdocs-glightbox (>=0.4.0,<0.5.0)",
"mkdocs-video (>=1.5.0,<2.0.0)",
"mkdocs-git-authors-plugin (>=0.9.2,<0.10.0)",
"mkdocs-git-revision-date-localized-plugin (>=1.3.0,<2.0.0)",
"pillow (>=11.1.0,<12.0.0)",
"cairosvg (>=2.7.1,<3.0.0)",
"mkdocs-with-pdf (>=0.9.3,<0.10.0)",
"mkdocs-exclude (>=1.0.2,<2.0.0)",
"mkdocs-exclude-unused-files (>=1.4.0,<2.0.0)",
"mkdocs-macros-plugin (>=1.3.7,<2.0.0)",
"invoke (>=2.2.0,<3.0.0)",
"rich (>=13.9.4,<14.0.0)",
"typos (>=1.29.4,<2.0.0)",
"fastapi (>=0.115.6,<0.116.0)",
"ruff (>=0.9.2,<0.10.0)",
"mkdocs-quiz (>=0.0.41,<0.0.42)"
]
[tool.taskipy.tasks]
serve = {cmd="mkdocs serve --dev-addr localhost:8080", help="Executa o servidor local do mkdocs"}
deploy = {cmd="mkdocs gh-deploy", help="Faz o deploy da página em produção"}
slides = {cmd="marp -I slides/brutos/ --html --theme slides/brutos/rose-pine.css --allow-local-files --pdf -o slides/pdf/", help="Gera os slides em pdf"}
slides_html = {cmd="marp -I slides/brutos --html --theme slides/brutos/rose-pine.css --allow-local-files -o slides/html", help="Gera os slides em html (formato usado nas aulas)"}
pdf = {cmd="ENABLE_PDF_EXPORT=1 mkdocs build", help="Cria um pdf único de todo o curso (não otimizado ainda)"}
ruff = 'ruff check'
[tool.ruff]
line-length = 79
[tool.ruff.lint]
preview = true
select = ['I', 'F', 'E', 'W', 'PL', 'PT']
ignore = ['E402', 'F811']
[tool.ruff.format]
preview = true
quote-style = 'single'
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"