-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (57 loc) · 1.39 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
[tool.poetry]
name = "retroasm"
version = "0.1.0"
description = "Library and tools to convert between assembly and machine code"
authors = ["Maarten ter Huurne <maarten@treewalker.org>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.12"
click = "^8.0"
[tool.poetry.dev-dependencies]
invoke = "^2.0"
pytest = "^8.0.0"
coverage = {version = "^7.4.0", extras = ["toml"]}
pytest-cov = "^4.1.0"
pylint = "^3.0"
mypy = "^1.0.0"
lxml = "^4.3.5"
pre-commit = "^4.0.0"
pyupgrade = "^3.15.2"
vulture = "^2.3"
Sphinx = "^4.3.1"
sphinxcontrib-spelling = "^7.3.0"
hypothesis = "^6.32.1"
sphinx-click = "^3.0.2"
ruff = "0.7.2"
[tool.poetry.scripts]
retro = 'retroasm.cmdline:main'
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.coverage.run]
branch = true
source = ["src"]
[tool.coverage.report]
exclude_lines = [
# Explicit override:
"pragma: no cover",
# Intended to be unreachable:
"raise NotImplementedError$",
"assert False($|,)",
# Debug-only code:
"def __repr__\\(",
"def dump\\(",
# Exclusive to mypy:
"if TYPE_CHECKING:$",
"\\.\\.\\.$",
]
[tool.ruff]
line-length = 88
target-version = "py312"
src = ["src"]
[tool.ruff.lint]
ignore = [
# ambiguous-variable-name: I really want to be able to name a register variable "l"
# Also I don't think that coding style should be used to work around poor font selection.
"E741",
]