This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
69 lines (55 loc) · 1.79 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "ansys-product-library"
version = "0.1.0"
description = "Template PyAnsys library"
readme = "README.rst"
homepage = "https://github.com/pyansys/template/"
authors = ["Ansys, Inc."] # this is required
maintainers = ["PyAnsys developers <[email protected]>"] # You can change the name. The email group works.
license = "MIT"
# Less than critical but helpful
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
packages = [
{ include = "ansys", from = "src" },
]
include = ["py.typed"]
[tool.poetry.dependencies]
python = ">=3.7" # Plan on supporting only the currently supported versions of Python
importlib-metadata = {version = "^4.0", python = "<3.8"}
Sphinx = {version="^4.4", optional=true}
numpydoc = {version="^1.2", optional=true}
pyansys_sphinx_theme = {version="^0.2", optional=true}
sphinx-copybutton = {version="^0.4", optional=true}
pre-commit = {version = "^2.17.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", "pyansys_sphinx_theme", "sphinx-copybutton"]
pre-commit = ["pre-commit", "mypy"]
test = ["pytest", "pytest-cov"]
[tool.black]
line-length = 100
target-version = ['py37']
[tool.pydocstyle]
convention = "numpy"
[tool.mypy]
python_version = 3.7
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