From 5551c9ec3bc0d22a8967adffcd35950cfa7c83da Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Sun, 1 Oct 2017 15:40:40 +0300 Subject: [PATCH] add pragmas to disable pylint warnings for missing docstrings in test files --- freqtrade/tests/test_main.py | 1 + freqtrade/tests/test_persistence.py | 2 +- freqtrade/tests/test_telegram.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/freqtrade/tests/test_main.py b/freqtrade/tests/test_main.py index 8c881c9c8..38f60af43 100644 --- a/freqtrade/tests/test_main.py +++ b/freqtrade/tests/test_main.py @@ -1,3 +1,4 @@ +# pragma pylint: disable=missing-docstring import copy from unittest.mock import MagicMock, call diff --git a/freqtrade/tests/test_persistence.py b/freqtrade/tests/test_persistence.py index 6015fe858..376825c72 100644 --- a/freqtrade/tests/test_persistence.py +++ b/freqtrade/tests/test_persistence.py @@ -1,7 +1,7 @@ +# pragma pylint: disable=missing-docstring from freqtrade.exchange import Exchange from freqtrade.persistence import Trade - def test_exec_sell_order(mocker): api_mock = mocker.patch('freqtrade.main.exchange.sell', side_effect='mocked_order_id') trade = Trade( diff --git a/freqtrade/tests/test_telegram.py b/freqtrade/tests/test_telegram.py index c054b8994..cb67c8c79 100644 --- a/freqtrade/tests/test_telegram.py +++ b/freqtrade/tests/test_telegram.py @@ -1,3 +1,4 @@ +# pragma pylint: disable=missing-docstring from datetime import datetime from unittest.mock import MagicMock