-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
70 lines (61 loc) · 1.58 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
[tool.poetry]
name = "CarlAdam"
version = "0.1.0"
description = "Petri net tools and interactive simulator"
authors = ["Matthew Scott <carladam@opensource.matthewryanscott.com>"]
readme = "README.md"
repository = "https://github.com/matthewryanscott/CarlAdam"
license = "MIT"
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.dependencies]
attrs = "^23.2.0"
pyrsistent = "^0.20.0"
python = "^3.11"
# extras
django = "^5.0.3"
httpx = "^0.27.0"
networkx = "^3.2.1"
numpy = "^1.26.4"
python-decouple = "^3.8"
[tool.poetry.group.dev.dependencies]
Jinja2 = "^3.1.3"
Markdown = "^3.5.2"
coverage = "^7.4.3"
pre-commit = "^3.6.2"
pytest = "^8.0.2"
pytest-cov = "^4.1.0"
types-Markdown = "^3.5.0"
watchdog = { extras = ["watchmedo"], version = "^4.0.0" }
[tool.poetry.extras]
geometry = ["networkx", "numpy"]
simulator = ["django", "httpx", "python-decouple"]
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
omit = [
"*tests/*.py",
# Non-core modules undergoing rapid change:
"*diagram/graphviz.py",
"*diagram/kroki.py",
"*diagram/lab.py",
]
source = ["."]
[tool.coverage.html]
directory = "../public/static/htmlcov"
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.isort]
case-sensitive = true
lines-after-imports = 2