-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
122 lines (105 loc) · 2.56 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
120
121
122
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "gandalf-doe"
readme = "README.md"
requires-python = ">=3.6"
license = {file = "LICENSE"}
description = "GandALF package"
dependencies = [
"pandas",
"pandas-stubs",
"scikit-learn",
"numpy",
"GPyOpt",
"scipy",
"matplotlib<3.6",
"openpyxl",
]
authors = [
{name = "Maarten R. Dobbelaere", email = "mrodobbe.dobbelaere@ugent.be"},
{name = "Yannick Ureel", email = "yannick.ureel@ugent.be"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
]
dynamic = ["version"]
[project.urls]
source = "https://github.com/mrodobbe/gandalf-doe"
tracker = "https://github.com/mrodobbe/gandalf-doe/issues"
# documentation = "https://gandalf-doe.readthedocs.io"
[project.optional-dependencies]
test = [
"mypy",
"hypothesis",
"pytest",
"pytest-cov",
"tox",
"genbadge[coverage]",
]
[tool.hatch.version]
path = "src/gandalf_doe/__about__.py"
[tool.ruff]
show-fixes = true
[tool.ruff.lint]
select = [
"F", # Pyflakes
"E", # Pycodestyle
"W", # Pycodestyle
"D", # Pydocstyle
"UP", # pyupgrade
"I", # isort
"PL", # Pylint
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*" = ["D", "PLR2004"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
python_version = "3.7"
warn_redundant_casts = true
warn_unused_configs = true
pretty = true
show_error_codes = true
show_error_context = true
show_column_numbers = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_unused_ignores = true
warn_return_any = true
no_implicit_reexport = true
# More strict checks for library code
[[tool.mypy.overrides]]
module = "gandalf_doe.*"
disallow_untyped_defs = true
ignore_missing_imports = true
disable_error_code = ["assignment", "import-untyped", "no-any-return"]
# Ignore certain missing imports
# [[tool.mypy.overrides]]
# module = "thirdparty.*"
# ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.coverage.run]
omit = [
'__about__.py'
]
[tool.coverage.report]
exclude_also = [
"if __name__ == .__main__.:",
]