diff --git a/setup.cfg b/setup.cfg index 8430629c..db76b0de 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,6 +16,7 @@ disable = E1120, # see pylint#3613 E1101, # pylint misses members set dynamically C3001, # lambda function as variable + R0917, # too-many-positional-arguments - TODO: fix this when breaking retrocompatibility [pylint.FORMAT] max-line-length = 100 @@ -26,6 +27,7 @@ min-similarity-lines = 6 ignore-comments = yes ignore-docstrings = yes ignore-imports = no +ignore-signatures = yes [tox:tox] envlist = py{37,38,39,310}-lint, py{37,38,39,310}-tf{22,25,28,211}, py{38,39,310}-tf{25,28,211}-torch{111,113,200} @@ -47,7 +49,7 @@ deps = tf211: tensorflow ~= 2.11.0,<2.16 -rrequirements.txt commands = - pytest --cov=xplique --ignore=xplique/wrappers/pytorch.py --ignore=tests/wrappers/test_pytorch_wrapper.py --ignore=tests/concepts/test_craft_torch.py {posargs} + pytest --cov=xplique --ignore=xplique/wrappers/pytorch.py --ignore=tests/wrappers/test_pytorch_wrapper.py --ignore=tests/concepts/test_craft_torch.py --ignore=tests/example_based/test_torch.py {posargs} [testenv:py{38,39,310}-tf{25,28,211}-torch{111,113,200}] deps = @@ -61,7 +63,7 @@ deps = torch200: torch -rrequirements.txt commands = - pytest --cov=xplique/wrappers/pytorch tests/wrappers/test_pytorch_wrapper.py tests/concepts/test_craft_torch.py + pytest --cov=xplique/wrappers/pytorch tests/wrappers/test_pytorch_wrapper.py tests/concepts/test_craft_torch.py tests/example_based/test_torch.py [mypy] check_untyped_defs = True