-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
62 lines (51 loc) · 1.33 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
57
58
59
60
61
62
[tool.poetry]
name = "my-resume"
version = "0.1.0"
description = "Olivier Philippon's ~over-engineered~ hand-crafted resume 🤓"
authors = ["Olivier Philippon <olivier@dunsap.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
django = "^5.0.3"
django-tailwind-cli = "^2.8.0"
django-google-fonts = "^0.0.3"
playwright = "^1.40.0"
pillow = "^10.3.0"
[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
mypy = "^1.8.0"
pre-commit = "^3.6.0"
ruff = "^0.4.4"
ipython = "^8.19.0"
django-browser-reload = "^1.12.1"
djlint = "^1.34.1"
[tool.poetry.group.deployment.dependencies]
ghp-import = "^2.1.0"
[tool.mypy]
# @link https://mypy.readthedocs.io/en/stable/config_file.html#using-a-pyproject-toml
python_version = "3.12"
mypy_path = "myresume/"
[[tool.mypy.overrides]]
module = [
"django.*",
"djlint.*",
]
ignore_missing_imports = true
[tool.ruff]
exclude = [".venv"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
[tool.ruff.lint.isort]
combine-as-imports = true
extra-standard-library = ["tomllib"]
known-first-party = ["myresume"]
[tool.djlint]
max_line_length = 88
profile = "django"
ignore = "H019"
blank_line_after_tag="load,extends,include,endblock"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"