-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (44 loc) · 1.09 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (44 loc) · 1.09 KB
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
[tool.poetry]
name = "py-algorithms"
version = "0.0.0" # version handled by poetry-dynamic-versioning plugin
description = "Fun with algorithms and data structures"
authors = ["Pablo Barbero <pablo.barbero.domeno@gmail.com>"]
license = "MIT License"
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
[tool.poetry.dev-dependencies]
pytest = "^6.2"
pytest-cov = "^2.12.1"
flake8 = "^3.9.2"
mypy = "^0.910"
black = "^22.3.0"
isort = "^5.7.0"
pydocstyle = "^6.1.1"
pyspelling = "^2.7.3"
pycln = "^1.1.0"
pre-commit = "^2.14.0"
types-PyYAML = "^6.0.3"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry.core.masonry.api"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
pattern = "^v(?P<base>\\d+\\.\\d+\\.\\d+)$"
[tool.black]
target-version = ['py38']
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.mypy]
check_untyped_defs = true
ignore_missing_imports = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.pydocstyle]
inherit = false
convention = "numpy"
[tool.pycln]
all = true