-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
57 lines (48 loc) · 1.11 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
[tool.poetry]
name = "hexfiles"
version = "1.3.0"
description = "A simple loader for Motorola SREC, Intel HEX, and TI-TXT files."
authors = ["toolCHAINZ"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
bincopy = "^17.14.5"
[tool.poetry.group.dev.dependencies]
nox = "^2023.4.22"
ruff = "^0.0.269"
black = "^23.3.0"
nox-poetry = "^1.0.2"
pytest = "^7.3.1"
mypy = "^1.3.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 99
target-version = "py38"
extend-select = [
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"RUF", # ruff
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"PTH", # flake8-use-pathlib
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
"TID252" # prefer relative imports
]
extend-ignore = ["RUF005"]
src = ["src"]
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
strict = true
namespace_packages = true
[[tool.mypy.overrides]]
module = "binaryninja"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "bincopy"
ignore_missing_imports = true