-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
52 lines (45 loc) · 1.44 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
[tool.poetry]
name = "libsimba-eth"
version = "0.1.9"
description = "libsimba Eth Utilities"
authors = [
"SIMBA Chain Inc."
]
packages = [
{ include = "libsimba_eth" }
]
[tool.poetry.dependencies]
python = " >=3.9,<3.10"
hdwallet = "2.2.1"
web3 = "^6.15.1"
pycryptodome = "^3.19.1"
libsimba = "^1.4.0"
[tool.poetry.dev-dependencies]
pytest = "^8.1.0"
black = "24.2.0"
isort = "5.13.2"
taskipy = "1.12.2"
coverage = "7.4.3"
mypy = "1.8.0"
autoflake = "2.3.0"
flake8 = "7.0.0"
[tool.isort]
profile="black"
atomic=true
include_trailing_comma=true
lines_after_imports=2
lines_between_types=1
use_parentheses=true
src_paths=["libsimba_eth", "tests"]
filter_files=true
known_first_party="poetry"
[tool.taskipy.tasks]
isort = { cmd = "isort libsimba_eth", help = "Sort imports" }
format = { cmd = "black libsimba_eth", help = "Run black code formatting" }
tests = { cmd = "pytest --pyargs ./tests --junitxml=junit.xml --verbose -s", help = "Run tests" }
mypy = { cmd = "mypy --config-file mypy.ini libsimba_eth --junit-xml _mypy.xml --show-traceback", help = "Run code quality tests" }
autoflake = { cmd = "autoflake --in-place --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports --recursive libsimba_eth", help = "Run autoflake tool" }
flake8 = { cmd = "flake8 --ignore=E501,E203,W503 libsimba_eth tests", help = "Run code quality tests" }
[build-system]
requires = ["poetry-core>=1.5.0"]
build-backend = "poetry.core.masonry.api"