-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
85 lines (71 loc) · 1.72 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
[build-system]
# Minimum requirements for the build system to execute.
requires = [
# sync with setup.py until we discard non-pep-517/518
"setuptools>=45.0",
"setuptools-scm[toml]>=6.2.3",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["pyohm"]
[project]
name = "pyohm"
dynamic = ["version"]
authors = [
{ name="Yan Zhang", email="[email protected]" },
]
description = "A python library to create simple power grid and calculate powerflow."
readme = "README.md"
keywords = ["python", "power system", "power grid", "powerflow"]
license = { file="LICENSE" }
requires-python = ">=3.11"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries"
]
dependencies = [
"numpy",
]
[project.optional-dependencies]
dev = ["pre-commit"]
doc = [
"wheel",
"mkdocs-material",
"mknotebooks"
]
test = [
"pytest",
"pytest-cov"
]
[project.urls]
"Homepage" = "https://github.com/claudezss/pyohm"
"Bug Tracker" = "https://github.com/claudezss/pyohm/issues"
[tool.isort]
force_grid_wrap=0
include_trailing_comma=true
line_length=120
multi_line_output=3
skip_glob=["env/*", 'docs/*']
profile = "black"
[tool.black]
line_length = 120
max-line-length=120
exclude =[".git", "__pycache__", "venv", "env", 'docs/*']
include = ["pyohm/*", "tests/*"]
[tool.mypy]
strict=true
ignore_missing_imports=true
disallow_subclassing_any=false
exclude = ['env', 'venv', '.venv', 'tests/*', 'docs/*']
files = ["pyohm/*"]
[[tool.mypy.overrides]]
module = [
"click.*",
"bin.*"
]
ignore_errors = true
[tool.pytest.ini_options]