From 5e19e389653bbc53b5a2a5e5e26dc4c3a21a982c Mon Sep 17 00:00:00 2001 From: Thor77 Date: Sun, 19 Feb 2017 17:17:14 +0100 Subject: [PATCH] Fix E501 (line too long) --- tsstats/__main__.py | 3 ++- tsstats/tests/test_ident_map.py | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tsstats/__main__.py b/tsstats/__main__.py index 5c40a8c..ec7938a 100644 --- a/tsstats/__main__.py +++ b/tsstats/__main__.py @@ -16,7 +16,8 @@ logger = logging.getLogger('tsstats') def cli(): parser = argparse.ArgumentParser( - description='A simple Teamspeak stats-generator, based solely on server-logs', + description='A simple Teamspeak stats-generator,' + ' based solely on server-logs', argument_default=argparse.SUPPRESS ) parser.add_argument( diff --git a/tsstats/tests/test_ident_map.py b/tsstats/tests/test_ident_map.py index 26e20a3..e1cb26d 100644 --- a/tsstats/tests/test_ident_map.py +++ b/tsstats/tests/test_ident_map.py @@ -38,7 +38,11 @@ def test_ident_map(identmap_clients): ( [ {'name': 'Friend 1', 'primary_id': '2', 'alternate_ids': ['4']}, - {'name': 'Friend 3', 'primary_id': '8', 'alternate_ids': ['9', '14']} + { + 'name': 'Friend 3', + 'primary_id': '8', + 'alternate_ids': ['9', '14'] + } ], (('4', '2'), ('9', '8'), ('14', '8')) )