Update ragger test configuration and setup

This commit is contained in:
Charles-Edouard de la Vergne
2024-03-25 14:48:17 +01:00
parent 537651dee7
commit 565c6fab66
2 changed files with 23 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
pytest
ecdsa
./client/
web3~=6.0
ragger[speculos]
py_ecc

20
tests/ragger/setup.cfg Normal file
View File

@@ -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