forked from prommis/prommis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (81 loc) · 2.34 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
86
87
88
[build-system]
requires = [
"setuptools >= 64",
"setuptools_scm >= 7",
]
build-backend = "setuptools.build_meta"
[project]
name = "prommis"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Software Development :: Libraries :: Python Modules",
]
keywords = ["IDAES", "energy systems", "chemical engineering", "process modeling"]
dynamic = ["version"]
dependencies = [
"idaes-pse @ git+https://github.com/IDAES/idaes-pse@main",
"pyomo",
]
[tool.setuptools_scm]
[tool.pylint.main]
py-version = "3.8"
[tool.pylint."messages control"]
disable = [
"E", # all errors
"W", # all warnings
"C", # all conventions
"R", # all refactor
]
# see https://pylint.readthedocs.io/en/v2.17.7/user_guide/messages/index.html
# for a list of all messages
enable = [
"import-error",
"unused-import",
"wildcard-import",
"wrong-import-order",
"wrong-import-position",
"ungrouped-imports",
"implicit-str-concat",
"dangerous-default-value",
"invalid-name",
]
module-naming-style = "snake_case"
const-naming-style = "any"
class-naming-style = "any"
function-naming-style = "any"
method-naming-style = "any"
attr-naming-style = "any"
argument-naming-style = "any"
variable-naming-style = "any"
class-attribute-naming-style = "any"
inlinevar-naming-style = "any"
[project.entry-points.pytest11]
known_issues = "prommis._testing_utils.known_issues"
[tool.pytest.ini_options]
addopts = """
--pyargs prommis
--import-mode=importlib
-rsx
"""
[tool.isort]
profile = "black"
known_pyomo = "pyomo"
known_idaes = "idaes"
sections = "FUTURE,STDLIB,PYOMO,IDAES,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"