generated from ansys/template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
76 lines (62 loc) · 1.89 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "py-mel-logging"
version = "0.2.dev1"
description = "Python for Microsoft.Extensions.Logging library"
readme = "README.rst"
homepage = "https://github.com/pyansys/py-mel-logging/"
authors = ["Ansys, Inc."]
maintainers = ["PyAnsys developers <[email protected]>"]
license = "MIT"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
packages = [
{ include = "py_mel_logging", from = "src" },
]
include = [
"py.typed",
"src/py_mel_logging/dlls/netstandard2.0/*.dll"
]
[tool.poetry.dependencies]
python = "<3.13,>=3.8"
# LTTODO: Use next alpha when available.
# LTTODO: Use official release when available.
pythonnet = ">=3.0.0"
Sphinx = {version="^4.4", optional=true}
numpydoc = {version="^1.2", optional=true}
ansys_sphinx_theme = {version="^0.4", optional=true}
sphinx-copybutton = {version="^0.4", optional=true}
pre-commit = {version = "^2.19.0", optional = true}
mypy = {version = "^0.900", optional = true}
pytest = {version="^7.0", optional=true}
pytest-cov = {version="^3.0", optional=true}
[tool.poetry.extras]
docs = ["Sphinx", "numpydoc", "ansys_sphinx_theme", "sphinx-copybutton"]
pre-commit = ["pre-commit", "mypy"]
test = ["pytest", "pytest-cov"]
dev = ["Sphinx", "numpydoc", "ansys_sphinx_theme", "sphinx-copybutton",
"pre-commit", "mypy",
"pytest", "pytest-cov"]
[tool.black]
line-length = 100
target-version = ['py38']
[tool.pydocstyle]
convention = "numpy"
[tool.mypy]
python_version = 3.8
strict = false # set to 'true' for stricter type checking
mypy_path = "src"
namespace_packages = true
explicit_package_bases = true
[[tool.mypy.overrides]]
module = [
"grpc.*",
"grpc_health.*",
]
ignore_missing_imports = true