From b47d29821e481dc66c75caf39a5439c60eb8f39b Mon Sep 17 00:00:00 2001 From: Ted Timmons Date: Fri, 20 Jan 2023 14:34:25 -0800 Subject: [PATCH] fix flake8 config; EOF newlines --- .flake8 | 13 +++++++++---- requests_aws4auth/test/test_live.py | 1 - setup.py | 1 - 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.flake8 b/.flake8 index 7cd4048..93183cd 100644 --- a/.flake8 +++ b/.flake8 @@ -1,7 +1,12 @@ [flake8] max-line-length = 120 -ignore = E701, #allow multi on same line +ignore = + #allow multi on same line + E701, F401,F821, - W503,W504,W505, # default ignored - E741 # allow short vars - F841 # unused vars are needed for safety + # default ignored + W503,W504,W505, + # allow short vars + E741 + # unused vars are needed for safety + F841 diff --git a/requests_aws4auth/test/test_live.py b/requests_aws4auth/test/test_live.py index dd30c54..128acb8 100644 --- a/requests_aws4auth/test/test_live.py +++ b/requests_aws4auth/test/test_live.py @@ -228,4 +228,3 @@ def test_mobileanalytics(self): response = requests.post(url, auth=auth, headers=headers, data=body) response.connection.close() self.assertTrue(response.ok) - diff --git a/setup.py b/setup.py index 041fad6..8626aea 100644 --- a/setup.py +++ b/setup.py @@ -66,4 +66,3 @@ def find_version(*file_paths): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Topic :: Internet :: WWW/HTTP']) -