forked from ames-market/psst
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
81 lines (75 loc) · 2.11 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "matpowercaseframes"
description = 'Parse MATPOWER case into pandas DataFrame.'
readme = "README.md"
requires-python = ">=3.7.1"
keywords = ["matpower", "parser"]
license = {text = "MIT License"}
authors = [
{name = "Muhammad Yasirroni", email = "[email protected]"},
]
maintainers = [
{name = "Muhammad Yasirroni", email = "[email protected]"}
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
]
dependencies = [
"numpy>=1.19.0",
"pandas>=1.2",
]
dynamic = ["version"]
[project.optional-dependencies]
matpower = [
"matpower>=7.1.0.2.1.4",
]
dev = [
"matpower>=7.1.0.2.1.4",
"numpy>=1.21.5",
"oct2py>=5.5.1", # latest support for 3.7
"openpyxl>=3.1.2",
"pandas>=1.2.0",
"pre-commit>=2.21.0",
"pytest>=7.2.0",
"pytest-cov>=4.0.0",
"pytest-xdist>=3.1.0",
"ruff>=0.6.4",
]
[project.urls]
Documentation = "https://github.com/UGM-EPSLab/matpowercaseframes#readme"
Issues = "https://github.com/UGM-EPSLab/matpowercaseframes/issues"
Source = "https://github.com/UGM-EPSLab/matpowercaseframes"
[tool.setuptools]
packages = ["matpowercaseframes"]
[tool.ruff]
fix = true
line-length = 88
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
lint.ignore = [
"B90", # support <3.10
"E402", # temporarily due to nbqa did not support [tool.ruff.per-file-ignores]
"E741", # ambiguous variable name
"F403", # 'from module import *' used; unable to detect undefined names
]
[tool.ruff.lint.per-file-ignores]
"tests/test_core.py" = ["E501"]