-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
96 lines (85 loc) · 2.52 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
[build-system]
requires = ["setuptools >= 42.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ansys-tools-omniverse"
version = "1.0.0.dev0"
description = "A kit extension to send data from Ansys products into Omniverse"
readme = "README.rst"
requires-python = ">=3.10,<3.11"
license = {file = "LICENSE"}
authors = [{name = "ANSYS, Inc.", email = "pyansys.core@ansys.com"}]
maintainers = [{name = "ANSYS, Inc.", email = "pyansys.core@ansys.com"}]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
]
[project.optional-dependencies]
tests = [
"ansys-pyensight-core~=0.8.11",
"omniverse_kit~=106.0.0",
"pytest==8.3.2",
"pytest-mock==3.10.0",
"pytest-cov==4.1.0",
]
[tool.coverage.run]
branch = true
omit = [
"exts/ansys.tools.omniverse.dsgui/ansys/tools/omniverse/dsgui/extension.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if selfdebug",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"@(abc.)?abstractmethod",
"if TYPE_CHECKING:",
"def _repr_pretty_",
"self._pim_instance",
"self._pim_file_service",
"def _launch_ensight_with_pim"]
[tool.pytest.ini_options]
minversion = "7.1"
testpaths = [
"tests",
]
addopts = "--setup-show --cov=ansys.tools.omniverse --cov-report html:coverage-html --cov-report term --cov-config=.coveragerc --capture=tee-sys --tb=native -p no:warnings"
markers =[
"integration:Run integration tests",
"smoke:Run the smoke tests",
"unit:Run the unit tests",
]
norecursedirs = ".git .idea"
filterwarnings = "ignore:.+:DeprecationWarning"
[tool.pip]
extra-index-url = "https://pypi.nvidia.com/"
[tool.black]
line-length = 100
src_paths = ["doc", "exts"]
[tool.codespell]
ignore-words-list = "ro, te, pres"
quiet-level = 3
skip = "*.pyc,*.xml,*.gif,*.png,*.jpg,*.js,*.html,*.svg"
[tool.isort]
profile = "black"
skip_gitignore = true
force_sort_within_sections = true
line_length = 100
default_section = "THIRDPARTY"
filter_files = true
src_paths = ["ansys", "doc", "tests", "exts"]
[tool.bandit]
level = "HIGH"
number = "3"
recursive = true
exclude = ["venv/*", "tests/*"]
[pydocstyle]
convention = "numpy"