-
Notifications
You must be signed in to change notification settings - Fork 73
/
pyproject.toml
56 lines (49 loc) · 1.68 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
55
56
[tool.poetry]
name = "fastapi-do-zero"
version = "0.1.0"
description = ""
authors = ["dunossauro <mendesxeduardo@gmail.com>"]
readme = "README.md"
packages = [{include = "fastapi-do-zero"}]
[tool.poetry.dependencies]
python = "^3.11"
mkdocs = "^1.6.1"
mkdocs-material = "^9.5.49"
taskipy = "^1.14.1"
mkdocs-glightbox = "^0.4.0"
mkdocs-video = "^1.5.0"
mkdocs-git-authors-plugin = "^0.9.2"
mkdocs-git-revision-date-localized-plugin = "^1.3.0"
pillow = "^11.1.0"
cairosvg = "^2.7.1"
mkdocs-with-pdf = "^0.9.3"
mkdocs-exclude = "^1.0.2"
mkdocs-exclude-unused-files = "^1.4.0"
mkdocs-macros-plugin = "^1.3.7"
invoke = "^2.2.0"
rich = "^13.9.4"
typos = "^1.29.4"
fastapi = "^0.115.6"
ruff = "^0.8.5"
mkdocs-quiz = "^0.0.41"
[tool.poetry.group.snippets.dependencies]
pytest = "^8.1.1"
[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"]
build-backend = "poetry.core.masonry.api"