-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
102 lines (92 loc) · 2.01 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = 'doranet'
version = '0.5.6a1'
authors = [
{ name='William Sprague', email='[email protected]' },
{ name='Quan Zhang', email='[email protected]' },
]
description = 'Python package for generating and analyzing chemical reaction networks'
readme = 'README.md'
requires-python = '>=3.10'
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Development Status :: 2 - Pre-Alpha",
]
license = {file = "LICENSE"}
dependencies = [
"ipython",
"matplotlib",
"networkx",
"numpy",
"pandas",
"pillow",
"pyarrow",
"pypdf",
"rdkit<=2023.9.5",
"scipy",
]
[project.optional-dependencies]
doc = [
"myst-parser",
"numpydoc",
"sphinx",
"sphinxcontrib-mermaid",
"sphinx-rtd-theme",
]
draw = [
"pygraphviz",
]
lint = [
"mypy",
"ruff",
]
profile = [
"scalene",
"snakeviz"
]
test = [
"pytest",
]
dev = [
"doranet[doc,lint,profile,test]",
"hatch",
]
[project.urls]
Homepage = "https://github.com/wsprague-nu/doranet"
Issues = "https://github.com/wsprague-nu/doranet/issues"
[tool.mypy]
no_implicit_reexport = true
warn_unused_configs = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"IPython.*",
"networkx.*",
"pandas.*",
"pgthermo.*",
"PIL.*",
"rdkit.*",
]
[tool.ruff]
extend-include = ["*.ipynb"]
indent-width = 4
line-length = 80
target-version = "py310"
[tool.ruff.format]
indent-style = "space"
line-ending = "lf"
quote-style = "double"
[tool.ruff.lint]
select = ["B", "D", "E", "F", "I", "PL", "SIM", "W"]
ignore = ["D101","D102","D103","D105","PLR0911","PLR0912","PLR0913","PLR0915"]
[tool.ruff.lint.per-file-ignores]
"**/modules/synthetic/{Reaction_Smarts_Forward.py,Reaction_Smarts_Retro.py}" = ["E501"]
"**.ipynb" = ["E501"]
"test*" = ["E501"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"