-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
158 lines (121 loc) · 4.17 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
[tool.poetry]
name = "scikit-transformers"
version = "0.3.2"
description = "scikit-transformers is a very usefull package to enable and provide custom transformers such as LogColumnTransformer, BoolColumnTransformers and others fancy transformers."
# dynamic = ["version", "description"]
license = "GPL-3.0"
authors = ["AlexandreGazagnes <[email protected]>",]
maintainers = ["AlexandreGazagnes <[email protected]>",]
readme = "README.md"
homepage = "https://alexandregazagnes.github.io/scikit-transformers/"
repository = "https://github.com/AlexandreGazagnes/scikit-transformers/"
documentation = "https://alexandregazagnes.github.io/scikit-transformers/"
keywords=["python", "machine learning", "sklearn", "transformers", "scikit-learn", "tools", "data", "pandas"]
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Environment :: Other Environment",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules"
]
packages = [{include = "sktransf"}]
include = ["docs/docs/CHANGELOG.md", "LICENCE"]
[tool.poetry.urls]
"Homepage" = "https://alexandregazagnes.github.io/scikit-transformers/"
"Documentation" = "https://alexandregazagnes.github.io/scikit-transformers/"
"Repository" = "https://github.com/AlexandreGazagnes/scikit-transformers/tree/main"
# "Code" = "https://github.com/AlexandreGazagnes/scikit-transformers/tree/main"
"Issues" = "https://github.com/AlexandreGazagnes/scikit-transformers/issues"
"Changelog" = "https://alexandregazagnes.github.io/scikit-transformers/CHANGELOG/"
[tool.poetry.dependencies]
python = ">=3.9,<4"
scikit-learn = ">=1.0.0"
pandas = ">=1.4.0"
# coverage = "^7.4.1"
# coverage-badge = "^1.1.0"
[tool.poetry.group.dev.dependencies]
python = "3.10.12"
black = "^23.10.1"
ipython = "^8.18.1"
pre-commit = "^3.6.0"
[tool.poetry.group.notebook.dependencies]
jupyter = "^1.0.0"
notebook = "^7.0.6"
jupyterlab = "^4.0.10"
ipykernel = "^6.28.0"
jupytext = "^1.16.1"
ipywidgets = "^8.1.1"
jupyter-contrib-nbextensions = "^0.7.0"
nbconvert = "7.14.1"
seaborn = "^0.13.2"
[tool.poetry.group.static.dependencies]
black = {extras = ["jupyter"], version = "^23.10.1"}
pep8 = "^1.7.1"
mypy = "^1.6.1"
flake8 = "^6.1.0"
pylint = "^3.0.2"
pycln = "^2.4.0"
bandit = "^1.7.7"
isort = "^5.13.2"
pycodestyle = "^2.11.1"
pydocstyle = "^6.3.0"
vulture = "^2.11"
mccabe = "^0.7.0"
pyupgrade = "^3.15.0"
safety = "^3.0.1"
# coverage = "^7.3.2"
[tool.poetry.group.test.dependencies]
pytest = "^7.4.3"
coverage = "^7.4.1"
coverage-badge = "^1.1.0"
[tool.poetry.group.doc.dependencies]
mkdocs = "^1.5.3"
mkdocs-material = "^9.5.9"
[tool.black]
line-length = 79
[tool.pycln]
all = true
[tool.isort]
line_length = 79
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
[tool.pytest.ini_options]
# addopts = ["--cov=sktransf", "--cov-report=term-missing", "--cov-report=xml", "--cov-report=html", "--cov-fail-under=100"]
# filterwarnings = "ignore::DeprecationWarning"
filterwarnings= [
"error",
"ignore::DeprecationWarning",
"ignore::UserWarning",
"ignore::PendingDeprecationWarning",
"ignore::FutureWarning",
# note the use of single quote below to denote "raw" strings in TOML
# 'ignore:function ham\(\) is deprecated:DeprecationWarning',
]
# [tool.mypy]
# show_error_codes = true
# ignore_missing_imports = true
# no_strict_optional = true
[tool.vulture]
exclude = ["*file*.py", "dir/"]
ignore_decorators = ["@app.route", "@require_*"]
ignore_names = ["visit_*", "do_*"]
make_whitelist = true
min_confidence = 80
paths = ["tests/", "sktransf/"]
sort_by_size = true
verbose = true
[tool.coverage.run]
disable_warnings = ["no-data-collected"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"