-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
122 lines (111 loc) · 2.69 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 = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "pyclugen"
description = "Multidimensional cluster generation in Python"
version = "1.1.3"
authors = [ { name = "Nuno Fachada", email = "faken@fakenmc.com" } ]
readme = "README.md"
requires-python = ">=3.8"
keywords = [
"multidimensional data",
"synthetic clusters",
"synthetic data generation",
"synthetic data generator",
"multidimensional clusters",
"clustering" ]
license = {text = "MIT"}
# https://pypi.org/classifiers/
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering"
]
dependencies = [ "numpy >= 1.20" ]
[project.optional-dependencies]
dev = [
"black",
"flake8 >= 6.0.0",
"flake8-black",
"flake8-builtins",
"flake8-bugbear",
"flake8-comprehensions",
"flake8-docstrings",
"flake8-isort",
"Flake8-pyproject",
"flake8-pytest-style",
"flake8-simplify",
"isort",
"matplotlib",
"mypy",
"mkdocs-gallery",
"mkdocs-material",
"mkdocstrings-python",
"pandas",
"pep8-naming",
"pre-commit",
"pytest >= 6.0",
"coverage",
"pytest-cov >= 3.0.0",
"pytest-mypy",
"scikit-learn",
"seaborn" ]
[project.urls]
"Bug Reports" = "https://github.com/clugen/pyclugen/issues"
"Documentation" = "https://clugen.github.io/pyclugen/"
"Source" = "https://github.com/clugen/pyclugen/"
[tool.setuptools]
packages = ["pyclugen"]
[tool.setuptools.package-data]
"*" = ["py.typed"]
[tool.mypy]
python_version = "3.8"
warn_unused_ignores = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--mypy --doctest-modules"
norecursedirs = [
"hooks",
"*.egg",
".eggs",
"dist",
"build",
"docs",
".tox",
".git",
"__pycache__" ]
testpaths = ["pyclugen", "tests"]
[tool.black]
line-length = 88
[tool.isort]
# https://pycqa.github.io/isort/docs/configuration/options.html
profile = "black"
src_paths = ["pyclugen", "tests"]
line_length = 88
skip_gitignore = "True"
[tool.flake8]
extend-select = ["B9", "C4"]
max-line-length = 88
max-doc-length = 88
ignore = [
"B905", # Force `strict` in zip(), but this requires Python 3.10
"E203", # "whitespace before ':'"", but that's how black likes it
"W503" ] # "line break before binary operator", conflicts with black
doctests = true
exclude = [
".git",
"__pycache__",
".*cache",
"build",
"dist",
"env",
"venv",
".eggs",
"*.egg",
"docs" ]
# flake8-docstrings
docstring-convention = "google"