-
-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (91 loc) · 1.71 KB
/
Copy pathpyproject.toml
File metadata and controls
102 lines (91 loc) · 1.71 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
[project]
name = "librouteros"
version = "4.1.1"
description = "Python implementation of MikroTik RouterOS API"
authors = [
{ name = "Łukasz Kostka", email = "lukasz.g.kostka@gmail.com" },
]
license = "GPL-2.0-or-later"
readme = "README.rst"
license-files = ["LICENSE"]
requires-python = ">=3.10.0"
keywords = [
"mikrotik",
"routeros",
"api",
]
dependencies = []
[project.urls]
Homepage = "https://github.com/luqasz/librouteros"
Issues = "https://github.com/luqasz/librouteros/issues"
Documentation = "https://librouteros.readthedocs.io"
[dependency-groups]
dev = [
"pytest==9.*",
"pytest-xdist==3.*",
"mypy==2.*",
"ruff==0.*",
"pytest-asyncio>=0.24.0",
"stamina>=25.1.0",
"ipdb>=0.13.13",
"hypothesis>=6.131.6",
"sphinx>=8.1.0",
"uv>=0.11.16",
]
[build-system]
requires = ["uv_build>=0.8.18,<0.12.0"]
build-backend = "uv_build"
[tool.uv]
python-preference = "only-system"
[tool.ruff]
line-length = 120
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 80
[tool.pytest.ini_options]
addopts = "-ra"
asyncio_default_fixture_loop_scope = "function"
asyncio_mode = "auto"
[tool.mypy]
ignore_missing_imports = true
[tool.ruff.lint]
extend-select = [
"A",
"ASYNC",
"BLE",
"B",
"C4",
"DTZ",
"EXE",
"E",
"F",
"I",
"LOG",
"N",
"PLE",
"PT",
"RUF",
"S",
"T20",
"W",
]
ignore = [
]
exclude = [
"docs/**/*.py",
"apicli.py",
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = [
"N801",
"N802",
"N803",
"S101",
"S603",
"S311",
"PT001",
"PT003",
]
[tool.ruff.lint.flake8-pytest-style]
parametrize-values-type = "tuple"
parametrize-names-type = "tuple"