forked from 0xricksanchez/like-dbg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
62 lines (53 loc) · 1.33 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
[tool.poetry]
name = "like_dbg"
version = "0.1.0"
description = "Fully dockerized Linux kernel debugging environment"
authors = ["434b <[email protected]>"]
license = "MIT"
readme = "README.md"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "^3.11"
loguru = "^0.7.2"
platformdirs = "^3.11.0"
fabric = "^3.2.2"
docker = "^6.1.3"
tqdm = "^4.66.1"
requests = "^2.31.0"
[tool.poetry.group.dev.dependencies]
black = "^23.10.0"
pytest = "^7.4.2"
pytest-cov = "^4.1.0"
ruff = "^0.1.1"
[tool.ruff]
# https://docs.astral.sh/ruff/settings
select = ["E", "F", "C4", "PTH", "TID", "PERF", "N", "C90"]
# Group violations by containing file.
output-format = "grouped"
line-length = 120
# Never enforce `E501` (line length violations).
ignore = ["E501"]
# Assume Python 3.10
target-version = "py310"
fix = true
unfixable = [
"ERA", # do not autoremove commented out code
]
[tool.ruff.mccabe]
# Flag errors (`C901`) whenever the complexity level exceeds 10.
max-complexity = 10
[tool.ruff.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.isort]
force-single-line = true
lines-between-types = 1
lines-after-imports = 2
[tool.black]
line-length = 120
target-version = ['py310']
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["src"]
console_output_style = ["progress"]