-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (71 loc) · 2.02 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "ansys-grantami-serverapi-openapi"
description = "Autogenerated client library for the Granta MI Server API."
version = "3.0.0.dev200"
license = "MIT"
authors = ["ANSYS, Inc. <pyansys.core@ansys.com>"]
maintainers = ["ANSYS, Inc. <pyansys.core@ansys.com>"]
homepage = "https://github.com/ansys/grantami-serverapi-openapi"
documentation = "https://grantami.docs.pyansys.com"
readme = "README.md"
keywords = ["Ansys", "OpenAPI"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Information Analysis",
]
packages = [
{ include = "**/*.py", from = "src" },
{ include = "**/py.typed", from = "src" },
]
[tool.poetry.dependencies]
python = "^3.9.0"
ansys-openapi-common = "^1.4.0"
requests = "^2.26.0"
python-dateutil = "^2.8.2"
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
requests-mock = "^1.0.0"
mypy = "^1.8.0"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py39,py310,py311,py312
isolated_build = True
[testenv]
install_command = pip install {opts} {packages}
allowlist_externals = poetry
commands_pre =
poetry install --no-root --sync --no-cache
commands =
poetry run pytest {posargs}
changedir = {toxinidir}/tests
"""
[tool.pytest.ini_options]
testpaths = [
"./tests",
]
[tool.mypy]
strict = true
warn_return_any = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
disallow_untyped_defs = true
no_implicit_optional = true
check_untyped_defs = true
show_error_codes = true
files = "src"
explicit_package_bases = true
mypy_path = "$MYPY_CONFIG_FILE_DIR/src"
namespace_packages = true