-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
186 lines (174 loc) · 4.31 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools",
"setuptools-scm",
]
[project]
name = "data-morph-ai"
description = "Teaching tool on the importance of data visualization."
readme = "README.md"
keywords = [
"data animation",
"data visualization",
"summary statistics",
]
license = { file = "LICENSE" }
maintainers = [
{ name = "Stefanie Molin" },
]
authors = [
{ name = "Stefanie Molin", email = "24376333+stefmolin@users.noreply.github.com" },
{ name = "Aaron Stevens", email = "bheklilr2@gmail.com" },
{ name = "Justin Matejka", email = "Justin.Matejka@Autodesk.com" },
]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Matplotlib",
"Intended Audience :: Education",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Visualization",
]
dynamic = [
"version",
]
dependencies = [
"matplotlib>=3.3",
"numpy>=1.20",
"pandas>=1.2",
"tqdm>=4.64.1",
]
optional-dependencies.dev = [
"pre-commit",
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-randomly",
]
optional-dependencies.docs = [
"pydata-sphinx-theme>=0.15.3",
"sphinx>=7.2.6",
"sphinx-argparse-cli>=1.16.0",
"sphinx-copybutton>=0.5.1",
]
urls."Bug Tracker" = "https://github.com/stefmolin/data-morph/issues"
urls."Documentation" = "https://stefaniemolin.com/data-morph/stable/api.html"
urls."Homepage" = "https://stefaniemolin.com/data-morph"
urls."Source" = "https://github.com/stefmolin/data-morph"
scripts.data-morph = "data_morph.cli:main"
[tool.setuptools.packages.find]
where = [
"src",
]
[tool.setuptools.package-data]
"data_morph.data.starter_shapes" = [
"*",
]
"data_morph.plotting.config" = [
"*",
]
[tool.setuptools.dynamic]
version = { attr = "data_morph.__version__" }
[tool.ruff]
line-length = 88
format.indent-style = "space"
format.quote-style = "single"
lint.select = [
"B", # flake8-bugbear rules
"C", # mccabe rules
"E", # pycodestyle error rules
"F", # pyflakes rules
"I", # isort rules
"W", # pycodestyle warning rules
]
lint.ignore = [
"C901", # max-complexity-10
"E501", # line-too-long
]
lint.isort.known-first-party = [
"data_morph",
]
[tool.codespell]
ignore-words-list = "recuse"
ignore-regex = 'https://([\w/\.])+'
[tool.pytest.ini_options]
addopts = [
"-ra",
"-l",
"-v",
"--tb=short",
"--import-mode=importlib",
"--strict-markers",
"--strict-config",
"--cov=data_morph",
"--cov=tests",
"--no-cov-on-fail",
"--cov-report=term-missing",
]
xfail_strict = true
testpaths = [
"tests",
]
markers = [
"bounds: Run tests on bounds logic.",
"circles: Run tests on circular shapes.",
"cli: Run tests involving the CLI.",
"dataset: Run tests on Dataset logic.",
"input_validation: Run tests on input validation.",
"lines: Run tests on LineCollection and related shapes.",
"morpher: Run tests on the morphing process,",
"plotting: Run tests on plotting logic.",
"points: Run tests on PointCollection and related shapes.",
"polygons: Run tests on polygon shapes.",
"shapes: Run tests related to shapes.",
]
[tool.interrogate]
ignore-init-method = true
ignore-init-module = false
ignore-magic = false
ignore-semiprivate = false
ignore-private = false
ignore-property-decorators = false
ignore-module = false
ignore-nested-functions = false
ignore-nested-classes = true
ignore-setters = false
fail-under = 100
exclude = [
"setup.py",
"docs",
"build",
]
verbose = 2
quiet = false
color = true
omit-covered-files = false
# TODO: revisit this later when I add badges to the README
# generate-badge = "."
# badge-format = "svg"
[tool.numpydoc_validation]
checks = [
"all", # report on all checks
"ES01", # but don't require an extended summary
"EX01", # or examples
"SA01", # or a see also section
"SS06", # and don't require the summary to fit on one line
]
exclude = [ # don't report on checks for these
'\.__init__$',
'\.__repr__$',
'\.__str__$',
]
override_SS05 = [ # allow docstrings to start with these words
'^Process ',
'^Assess ',
'^Access ',
]