From 3b794d05ffd4731e1b7c4f23bc73a3d73f5ba1c1 Mon Sep 17 00:00:00 2001 From: Ian H Pittwood Date: Thu, 15 Aug 2019 13:12:35 -0500 Subject: [PATCH] Upgrade yapf to 0.28 Upgrades yapf to newest version, 0.28.0, and runs the formatter to update all existing code. Change-Id: I7b2cb0dfd80dbe7bad37f6046c7465f7abe71d1e --- spyglass_plugin_xls/excel_parser.py | 1 - test-requirements.txt | 2 +- tests/unit/test_excel.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/spyglass_plugin_xls/excel_parser.py b/spyglass_plugin_xls/excel_parser.py index ab9873b..4a22224 100644 --- a/spyglass_plugin_xls/excel_parser.py +++ b/spyglass_plugin_xls/excel_parser.py @@ -28,7 +28,6 @@ LOG = logging.getLogger(__name__) class ExcelParser(object): """Parse data from excel into a dict""" - def __init__( self, file_name: str, excel_specs: str, spec: str = 'xl_spec'): """Initializes an ExcelParser to extract data from the Excel workbook diff --git a/test-requirements.txt b/test-requirements.txt index b423923..8a0a235 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6,7 +6,7 @@ pytest-cov==2.6.1 # Formatting flake8==3.7.8 flake8-import-order==0.18.1 -yapf==0.27.0 +yapf==0.28.0 # Linting hacking==1.1.0 diff --git a/tests/unit/test_excel.py b/tests/unit/test_excel.py index cdb35af..7f557f6 100644 --- a/tests/unit/test_excel.py +++ b/tests/unit/test_excel.py @@ -40,7 +40,6 @@ SITE_CONFIG_PATH = os.path.join(FIXTURE_DIR, 'site_config.yaml') @pytest.mark.usefixtures('site_data') class TestExcelPlugin(unittest.TestCase): """Tests for ExcelPlugin""" - def test___init__(self): region = 'test_region' result = ExcelPlugin(