-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
119 lines (108 loc) · 2.3 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[tool]
[tool.poetry]
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
]
authors = ["Youssef Nadar <[email protected]>", "Leon Sixt <[email protected]>"]
description = "Easy to use package of the DNNR regression."
homepage = "https://github.com/younader/dnnr"
license = "MIT"
name = "dnnr"
packages = [
{include = "dnnr"},
{include = "tests", format = "sdist"},
]
readme = "README.md"
version = "0.1.2"
[tool.poetry.dependencies]
annoy = "^1.17.0"
numpy = "^1.21.0"
python = ">=3.7,<3.11"
scikit-learn = "^1.0.0"
scipy = "^1.7.0"
tqdm = "^4.64.0"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
cookiecutter = "^1.7.3"
mkdocs = "^1.3.0"
mkdocs-autorefs = "^0.4.1"
mkdocs-include-markdown-plugin = "^3.4.0"
mkdocs-material = "^8.2.14"
mkdocstrings = "^0.18.1"
mypy = "^0.971"
pip = "^22.1"
pre-commit = "^2.19.0"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
tox = "^3.25.1"
twine = "^4.0.0"
virtualenv = "^20.2.2"
tqdm = "^4.64.0"
flake8 = "3.9.2"
isort = "^5.10.1"
[tool.black]
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
include = '\.pyi?$'
line-length = 80
skip-string-normalization = true
target-version = ['py39']
[tool.isort]
line_length = 80
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
multi_line_output = 3
skip_gitignore = true
use_parentheses = true
# you can skip files as below
# skip_glob = docs/conf.py
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.mypy]
python_version = 3.9
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_calls = false
disallow_untyped_decorators = true
no_implicit_optional = true
show_error_codes = true
strict_optional = true
warn_redundant_casts = true
warn_return_any = false
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"annoy",
"coverage",
"matplotlib",
"pandas",
"setuptools",
"sklearn",
"sklearn.*",
"scipy.*",
"typing_inspect",
"tqdm",
"tqdm.*",
"torch",
"torch.*",
]
ignore_missing_imports = true