-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (61 loc) · 1.63 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
[tool.poetry]
name = "python-mazes"
version = "0.1.0"
description = "A python project that genereates and solves mazes"
authors = ["Kevin Wyckmans <[email protected]>"]
license = "Unlicense"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
Pillow = "^9.0.0"
typer = "^0.4.0"
tqdm = "^4.62.3"
[tool.poetry.dev-dependencies]
black = "^21.12b0"
isort = "^5.10.1"
mypy = "^0.931"
pylint = "^2.12.2"
pytest = "^6.2.5"
pytest-cov = "^3.0.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
# For compatibility with Black
profile = "black"
[tool.mypy]
# Config equivalent to mypy --strict with ignore_missing_import added for
# convenience.
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
no_implicit_optional = true
no_implicit_reexport = true
ignore_missing_imports = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.coverage_paths]
# Define which paths that coverage should be measured for. We want to measure
# coverage against the built/installed package.
source = ["src", ".tox/*/site-packages/"]
[tool.coverage.report]
show_missing = true
[tool.pylint.'FORMAT']
# Black defaults to 88 character line length,
max-line-length = 88
[tool.pylint.'MESSAGES_CONTROL']
disable = [
"missing-module-docstring",
"missing-class-docstring",
"missing-function-docstring",
"invalid-name",
"too-many-instance-attributes",
"fixme"
]