-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
61 lines (55 loc) · 1.32 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
[tool.poetry]
name = "project"
version = "0.0.1"
description = "Data science template."
authors = ["Gianmarco <[email protected]>"]
license = "LICENSE"
readme = "README.md"
packages = [{ include = "package", from = "src" }]
include = ["*.py", "src/**/*.json", "src/**/*.toml"]
exclude = ["test/*"]
[build-system]
requires = ["poetry-core>=1.0.0", "cython"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
pyrootutils = "*"
loguru = "*"
jupyter = "*"
jupyterlab_server = "*"
jupyterlab = "*"
[tool.poetry.dev-dependencies]
black = { extras = ["jupyter"], version = "*" }
flake8 = "*"
ipython = "*"
isort = "*"
mypy = "*"
pylint = "*"
pytest = "*"
pytest-cov = "*"
pytest-mock = "*"
pytest-pylint = "*"
pytest-mypy = "*"
pytest-testmon = "*"
pytest-xdist = "*"
nbmake = "*"
[tool.black]
line-length = 110
[tool.mypy]
exclude = ["test/conftest.py"]
warn_return_any = true
warn_unused_configs = true
mypy_path = ["src"]
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
ignore_errors = false
ignore_missing_imports = true
no_implicit_optional = false
[tool.pytest.ini_options]
minversion = "6.0"
norecursedirs = ["test/res"]
testpaths = ["test"]
log_cli = true
addopts = "-x --pylint --disable-pytest-warnings --cov=src/ --durations=5"