Add flake8-unused-arguments
- Request fixtures only needed for their side effects via `@pytest.mark.usefixtures()` instead of as arguments - Remove fixtures that a test does not use at all - Exempt abstract methods because their arguments define an interface
This commit is contained in:
parent
29a711f049
commit
882d3c98ba
1 changed files with 34 additions and 18 deletions
|
|
@ -13,8 +13,8 @@ from rpy2.robjects import packages as rpackages
|
|||
|
||||
# Suppress R's messages to stdout and stderr.
|
||||
# Source: https://stackoverflow.com/a/63220287
|
||||
rcallbacks.consolewrite_print = lambda msg: None # pragma: no cover
|
||||
rcallbacks.consolewrite_warnerror = lambda msg: None # pragma: no cover
|
||||
rcallbacks.consolewrite_print = lambda _msg: None # pragma: no cover
|
||||
rcallbacks.consolewrite_warnerror = lambda _msg: None # pragma: no cover
|
||||
|
||||
|
||||
# For clarity and convenience, re-raise the error that results from missing R
|
||||
|
|
|
|||
Loading…
Reference in a new issue