-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
88 lines (78 loc) · 2.11 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[tool.poetry]
name = "dikes-for-dummies"
version = "0.9.0"
description = "Python course that navigates the creation of an MVP from an empty project."
authors = ["Carles S. Soriano Perez <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "dikesfordummies"}]
repository = "https://github.com/Carsopre/dikes-for-dummies"
documentation = "https://carsopre.github.io/dikes-for-dummies/"
[tool.poetry.scripts]
build-exe = "makefile.version_compile:run_compilation"
build-docs = "dev_scripts:build_html_docs"
[tool.poetry.dependencies]
python = ">=3.10, <3.12"
shapely = "^1.8.5.post1"
click = "^8.1.3"
matplotlib = "^3.6.1"
pyqt5 = "^5.15.7"
[tool.poetry.group.dev.dependencies]
black = "^22.10.0"
commitizen = "^2.35.0"
isort = "^5.10.1"
pyinstaller = "^5.5"
[tool.poetry.group.test.dependencies]
pytest = "^7.1.3"
pytest-cov = "^4.0.0"
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.4.0"
mkdocs-material = "^8.5.6"
mkdocstrings-python = "^0.7.1"
mkdocs-pdf-export-plugin = "^0.5.10"
mkdocs-with-pdf = "^0.9.3"
weasyprint = "^56.1"
cairocffi = "^1.4.0"
cairosvg = "^2.5.2"
cssselect2 = "^0.7.0"
pycparser = "^2.21"
tinycss2 = "^1.1.1"
[tool.black]
line-length = 88
target-version = ['py38', 'py39']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| \.virtualenvs
)/
)
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
[tool.commitizen]
name = "cz_conventional_commits"
changelog_file = "docs/changelog.md"
update_changelog_on_bump = true
version = "0.9.0"
tag_format = "v$major.$minor.$patch"
version_files= [
"dikesfordummies/__init__.py",
"pyproject.toml:version",]
[tool.commitizen.customize]
bump_pattern = "^(break|new|feat|fix|hotfix|refactor|docs)"
bump_map = {"break" = "MAJOR", "new" = "MINOR", "feat" = "MINOR", "fix" = "PATCH", "hotfix" = "PATCH", "refactor"="PATCH", "docs" = "PATCH"}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"