From 7852c7e87822c1eaff038551585c043d2b7be01a Mon Sep 17 00:00:00 2001 From: Flynn Date: Thu, 11 Jul 2019 22:01:01 -0400 Subject: [PATCH] cleanup flake8 --- tests/conftest.py | 1 - tests/test_apportionment.py | 2 -- tests/test_diversity.py | 3 --- tests/test_proportion.py | 1 - tests/test_quota.py | 2 -- 5 files changed, 9 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 958e44a..5c83c59 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,5 +1,4 @@ """Fixtures.""" -# flake8: noqa import pytest from voting.apportionment import adams diff --git a/tests/test_apportionment.py b/tests/test_apportionment.py index b893467..089b1dc 100644 --- a/tests/test_apportionment.py +++ b/tests/test_apportionment.py @@ -1,6 +1,4 @@ """Apportionment method tests.""" -# flake8: noqa -import pytest def test_apportionment_sum(apportionment_method, votes, seats): diff --git a/tests/test_diversity.py b/tests/test_diversity.py index 39987ca..36945ae 100644 --- a/tests/test_diversity.py +++ b/tests/test_diversity.py @@ -1,7 +1,4 @@ """Diversity tests.""" -# flake8: noqa -import pytest - from voting.diversity import general from voting.diversity import renyi diff --git a/tests/test_proportion.py b/tests/test_proportion.py index f827af0..40bd1db 100644 --- a/tests/test_proportion.py +++ b/tests/test_proportion.py @@ -1,5 +1,4 @@ """Proportion tests.""" -# flake8: noqa import pytest from voting.proportion import grofman diff --git a/tests/test_quota.py b/tests/test_quota.py index 8c6f97a..bf36585 100644 --- a/tests/test_quota.py +++ b/tests/test_quota.py @@ -1,6 +1,4 @@ """Quota tests.""" -# flake8: noqa -import pytest def test_quota_method(quota_method, seats):