From 565c6fab669e74ad8417ffd62dd1a3bb684976a8 Mon Sep 17 00:00:00 2001 From: Charles-Edouard de la Vergne Date: Mon, 25 Mar 2024 14:48:17 +0100 Subject: [PATCH] Update ragger test configuration and setup --- tests/ragger/requirements.txt | 4 +++- tests/ragger/setup.cfg | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 tests/ragger/setup.cfg diff --git a/tests/ragger/requirements.txt b/tests/ragger/requirements.txt index 1149a75..2cf1b16 100644 --- a/tests/ragger/requirements.txt +++ b/tests/ragger/requirements.txt @@ -1,3 +1,5 @@ pytest ecdsa -./client/ +web3~=6.0 +ragger[speculos] +py_ecc diff --git a/tests/ragger/setup.cfg b/tests/ragger/setup.cfg new file mode 100644 index 0000000..c79fd88 --- /dev/null +++ b/tests/ragger/setup.cfg @@ -0,0 +1,20 @@ +[tool:pytest] +addopts = --strict-markers + +[pylint] +disable = C0114, # missing-module-docstring + C0115, # missing-class-docstring + C0116, # missing-function-docstring + C0103, # invalid-name + R0801, # duplicate-code + R0913 # too-many-arguments +extension-pkg-whitelist=hid + +[pycodestyle] +max-line-length = 90 + +[mypy-hid.*] +ignore_missing_imports = True + +[mypy-pytest.*] +ignore_missing_imports = True