-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (53 loc) · 1.23 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "resume"
version = "0.1.0"
description = "A package to update my cv"
authors = [
{ name = "Rohail Taimour" }
]
dependencies = [
"typer>=0.12.3",
"jinja2>=3.1.2",
"loguru>=0.7.2"
]
readme = "README.md"
requires-python = ">=3.10"
[project.optional-dependencies]
dev = [
"black>=23.7.0",
"isort>=5.12.0",
"pre-commit>=3.3.3",
"flake8>=6.1.0",
"bump2version>=1.0.1"
]
[project.scripts]
website = "website.entrypoints:app"
generate-resume = "resume.generate_resume:app"
[tool.hatch.build]
include = [
"templates/**/*"
]
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
# 'extend-exclude' excludes files or directories in addition to the defaults
extend-exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
(
^/foo.py # exclude a file named foo.py in the root of the project
| .*_pb2.py # exclude autogenerated Protocol Buffer files anywhere in the project
| ^ica_db_update/tmp/ # exclude tmp directory
)
'''
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88