From bed3b5554083f0e3097de09d1f067c5d4f530651 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 26 Jan 2024 01:45:51 +0900 Subject: [PATCH] pep8: Use default line width We can use the default value by fixing the only one error. test/test_pyeclib_api.py:111:80: E501 line too long (83 > 79 characters) Change-Id: Idcdd6f643330b76328b5cd28c32900eeceacafb8 --- test/test_pyeclib_api.py | 3 ++- tox.ini | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_pyeclib_api.py b/test/test_pyeclib_api.py index 1663920..3268582 100644 --- a/test/test_pyeclib_api.py +++ b/test/test_pyeclib_api.py @@ -108,7 +108,8 @@ class TestPyECLibDriver(unittest.TestCase): size *= 1000 # Create the dictionary of files to test with - buf = ''.join(random.choice(string.ascii_letters) for i in range(size)) + buf = ''.join(random.choice(string.ascii_letters) + for i in range(size)) if sys.version_info >= (3,): buf = buf.encode('ascii') tmp_file = tempfile.NamedTemporaryFile() diff --git a/tox.ini b/tox.ini index 4185083..05d2d18 100644 --- a/tox.ini +++ b/tox.ini @@ -39,4 +39,3 @@ commands = python setup.py build_sphinx # H405: multi line docstring summary not separated with an empty line # W504: line break after binary operator ignore = H101,H404,H405,W504 -max-line-length = 88