kopia lustrzana https://github.com/crflynn/voting
cleanup flake8
rodzic
da6eaf7bf9
commit
7852c7e878
|
@ -1,5 +1,4 @@
|
|||
"""Fixtures."""
|
||||
# flake8: noqa
|
||||
import pytest
|
||||
|
||||
from voting.apportionment import adams
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
"""Apportionment method tests."""
|
||||
# flake8: noqa
|
||||
import pytest
|
||||
|
||||
|
||||
def test_apportionment_sum(apportionment_method, votes, seats):
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
"""Diversity tests."""
|
||||
# flake8: noqa
|
||||
import pytest
|
||||
|
||||
from voting.diversity import general
|
||||
from voting.diversity import renyi
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
"""Proportion tests."""
|
||||
# flake8: noqa
|
||||
import pytest
|
||||
|
||||
from voting.proportion import grofman
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
"""Quota tests."""
|
||||
# flake8: noqa
|
||||
import pytest
|
||||
|
||||
|
||||
def test_quota_method(quota_method, seats):
|
||||
|
|
Ładowanie…
Reference in New Issue