forked from BuildACell/bioCRNpyler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (91 loc) · 2.67 KB
/
pyproject.toml
File metadata and controls
103 lines (91 loc) · 2.67 KB
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
103
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "BioCRNpyler"
dynamic = ["version"]
description = "A chemical reaction network compiler for generating large biological circuit models"
authors = [{name='Build-A-Cell'}]
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'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 :: 3.12',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Operating System :: OS Independent',
]
license = {file = "LICENSE"}
readme = "README.md"
keywords=["SBML", "synthetic biology", "modeling",
"Chemical Reaction Network", "CRN"]
dependencies = [
"python-libsbml",
"numpy<2.0",
"matplotlib",
"networkx",
"bokeh>=1.4.0",
"fa2_modified",
"jupyter",
"pytest",
"pytest-cov",
"nbconvert"
]
requires-python = ">=3.9"
[project.optional-dependencies]
test = [
"pytest"
]
[project.urls]
"Homepage" = "https://github.com/buildacell/biocrnpyler/"
"Bug Tracker" = "https://github.com/buildacell/biocrnpyler/issues"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["biocrnpyler", "biocrnpyler.*"]
[tool.setuptools_scm]
write_to = "biocrnpyler/_version.py"
local_scheme = "no-local-version"
[tool.ruff]
line-length = 78
[tool.ruff.lint]
select = [
'E', # pycodestyle
'F', # pyflakes
'D', # docstyle
'I', # isort
'W' # warnings (white space, line length)
]
ignore = [
'D100', 'D101', 'D102', # ignore missing docstrings for now
'D103', 'D104', 'D105',
'D105', 'D106', 'D107',
'D401', # ignore imperative docstring checking for now
'D417', # ignore missing argument descriptions for now
]
[tool.ruff.lint.per-file-ignores]
# Ignore 'D' and 'E' rules everywhere except for the `biocrnpyler/` directory.
'!biocrnpyler/**.py' = ['D', 'E', 'I']
'Tests/**.py' = [
'E', # ignore code style
'F841', # unused variables OK
'F403', 'F405', # star imports OK
]
'examples/**.py' = [
'E', # ignore code style
'F403', 'F405', # star imports OK
]
'__init__.py' = ['F403'] # star imports OK
[tool.ruff.format]
quote-style = 'preserve'
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.isort]
profile = 'black'
line_length = 78