-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
169 lines (156 loc) · 4.29 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=65.5.0",
"setuptools-scm",
"wheel>=0.37.0",
"pre-commit==4.0.1",
]
[project]
name = "ansys-dynamicreporting-core"
version = "0.9.0.dev0"
authors = [
{name = "ANSYS, Inc.", email = "[email protected]"},
]
maintainers = [
{name = "ANSYS, Inc.", email = "[email protected]"},
{name = "Ansys ADR Team", email = "[email protected]"},
]
description = "Python interface to Ansys Dynamic Reporting"
readme = "README.rst"
requires-python = ">=3.10"
keywords = ["dynamicreporting", "pydynamicreporting", "pyansys", "ansys"]
license = {text = "MIT"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"filelock>=3.7.1",
"docker>=7.1.0",
"pypng>=0.20220715.0",
"requests>=2.32",
"urllib3<3.0.0",
"Pillow>=9.3.0",
"python-dateutil>=2.8.0",
"pytz>=2021.3",
"packaging>=21.0",
"build>=0.8.0",
# core ADR dependencies
"django~=4.2",
"djangorestframework~=3.14",
"django-guardian~=2.4",
"tzlocal~=5.0",
"numpy>=1.18.0,<3",
"python-pptx==0.6.19",
"pandas~=2.0",
"statsmodels~=0.14",
]
[tool.setuptools.packages.find]
where = ["src"]
include = ["ansys.dynamicreporting*"]
[project.urls]
homepage = "https://github.com/ansys/pydynamicreporting"
documentation = "https://dynamicreporting.docs.pyansys.com/"
changelog = "https://github.com/ansys/pydynamicreporting/blob/main/CHANGELOG.rst"
"Bug Tracker" = "https://github.com/ansys/pydynamicreporting/issues"
repository = "https://github.com/ansys/pydynamicreporting"
ci = "https://github.com/ansys/pydynamicreporting/actions"
[project.optional-dependencies]
test = [
"pytest>=8.3.3",
"pytest-cov>=6.0.0",
"psutil==6.0.0",
]
test-extra = [
"docker>=7.1.0",
"psutil==6.0.0",
"exceptiongroup==1.0.0",
"pytest>=8.3.3",
"pytest-cov>=6.0.0",
"pyvista==0.44.1",
"vtk==9.4.0",
"ansys-dpf-core==0.13.0",
]
doc = [
"ansys-sphinx-theme==1.1.1",
"numpydoc==1.8.0",
"pillow==10.4.0",
"docker>=7.1.0",
"Sphinx==8.0.2",
"sphinx-copybutton==0.5.2",
"sphinx-gallery==0.18.0",
]
dev = [
"build",
"packaging",
"twine",
"ipdb",
"ipython",
"whatsonpypi",
"ansys-sphinx-theme==1.1.1",
"numpy==1.25.1",
"numpydoc==1.8.0",
"pillow==10.4.0",
"psutil==6.0.0",
"docker>=7.1.0",
"pytest>=8.3.3",
"pytest-cov>=6.0.0",
"Sphinx==8.0.2",
"sphinx-copybutton==0.5.2",
"sphinx-gallery==0.18.0",
"pre-commit==4.0.1",
]
[tool.pytest.ini_options]
tmp_path_retention_policy = "failed"
testpaths = ["tests"]
addopts = "--capture=tee-sys --tb=native -p no:warnings"
markers =[
"integration:Run integration tests",
"smoke:Run the smoke tests",
"unit:Run the unit tests",
"ado_test: subset of tests to be run in the ADO pipeline for ADR",
]
norecursedirs =[
".git",
".idea",
]
filterwarnings = [
"ignore:.+:DeprecationWarning"
]
[tool.coverage.run]
omit = ["*/ansys/dynamicreporting/core/adr_utils.py", "*/ansys/dynamicreporting/core/build_info.py"]
branch = true
[tool.coverage.report]
show_missing = true
ignore_errors = true
[tool.coverage.html]
show_contexts = true
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
skip_gitignore = true
force_sort_within_sections = true
line_length = 100
default_section = "THIRDPARTY"
src_paths = ["doc", "src", "tests"]
[tool.codespell]
ignore-words = "doc/styles/Vocab/ANSYS/accept.txt"
skip = '*.pyc,*.xml,*.gif,*.png,*.jpg,*.js,*.html,doc/source/examples/**/*.ipynb'
quiet-level = 3
[tool.bandit]
targets = ["src"]
recursive = true
number = 3
severity_level = "high"
require_serial = true
exclude_dirs = [ "venv/*","setup.py","test_cleanup.py","tests/*","doc/*" ]