-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
69 lines (60 loc) · 1.38 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
66
67
68
69
[tool.poetry]
name = "bec2format"
version = "1.01.00"
description = "BALTECH BEC2 file format"
authors = ["Baltech AG <info@baltech.de>"]
license = "MIT"
[tool.poetry.dependencies]
python = ">=3.10,<3.11"
cryptography = { version = "*", optional = true }
[tool.poetry.extras]
aes = ["cryptography"]
[tool.poetry.dev-dependencies]
pytest = "*"
mypy = "*"
black = "*"
isort = "*"
flake8 = "*"
flake8-awesome = "*"
flake8-simplify = "*"
Flake8-pyproject = "*"
types-invoke = "*"
[tool.mypy]
exclude = [
"appnotes/register_crypto_plugin/ecdsa/*",
"appnotes/register_crypto_plugin/pyaes/*",
]
[tool.isort]
profile = "black"
extend_skip_glob = [
"/appnotes/register_crypto_plugin/ecdsa/*",
"/appnotes/register_crypto_plugin/pyaes/*",
]
[tool.black]
skip-magic-trailing-comma = true
extend-exclude = "/appnotes/register_crypto_plugin/(ecdsa|pyaes)/"
[tool.flake8]
exclude = [
".git",
".github",
".mypy_cache",
".tox",
"__pycache__",
"appnotes/register_crypto_plugin/ecdsa",
"appnotes/register_crypto_plugin/pyaes",
]
ignore = [
# line too long handled by black
"E501",
# invoke not listed in dependencies
"I900",
# don`t use "[on_true] if [expression] else [on_false]" syntax
"IF100",
# line break before binary operator: collides with black
"W503",
# whitespace before ':'
"E203",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"