-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (68 loc) · 1.6 KB
/
pyproject.toml
File metadata and controls
80 lines (68 loc) · 1.6 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
[build-system]
requires = ["setuptools>=77", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "netsim"
version = "0.1.0"
description = "A discrete-event simulation engine."
readme = "README.md"
authors = [{ name = "Andrey Golovanov" }]
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
]
dependencies = []
[project.optional-dependencies]
dev = [
"pytest>=8",
"pytest-cov",
"pytest-benchmark",
"pytest-mock",
"pytest-timeout",
"ruff==0.11.13",
"pyright==1.1.401",
"pre-commit",
"build",
"twine",
]
[tool.setuptools.packages.find]
include = ["netsim*"]
exclude = ["tests*"]
[tool.pytest.ini_options]
addopts = "--cov=netsim --cov-fail-under=85 --cov-report term-missing --benchmark-disable"
timeout = 10
markers = [
"slow: marks tests as slow",
"benchmark: marks tests as benchmarks",
]
[tool.coverage.run]
source = ["netsim"]
omit = ["*/tests/*", "*/test_*"]
[tool.ruff]
line-length = 88
indent-width = 4
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "B", "I"]
fixable = ["ALL"]
[tool.ruff.lint.isort]
known-first-party = ["netsim"]
[tool.ruff.format]
quote-style = "single"
[tool.pyright]
typeCheckingMode = "standard"
pythonVersion = "3.11"
venvPath = "."
venv = "venv"
exclude = [
"tests/**",
"**/venv/**",
"build/**",
"dist/**",
]