diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..b0ca624 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,11 @@ + +[flake8] +# https://flake8.readthedocs.org/en/latest/ +exclude=\ + */.eggs/*,\ + */build/*,\ + .tox/*,\ + local/*,\ + venv* +max-complexity = 25 +max-line-length = 119 \ No newline at end of file diff --git a/setup.py b/setup.py index 4b805f3..22599d1 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import io -from setuptools import find_packages, setup, Extension +from setuptools import setup, Extension with io.open('README.rst', encoding='utf8') as readme: diff --git a/tests/__init__.py b/tests/__init__.py index 2025d00..c03dafd 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -2,6 +2,7 @@ import unittest import spamsum + class SpamSumTest(unittest.TestCase): def setUp(self): self.s1 = "I am the very model of a modern Major-General, I've information animal and vegetable and mineral"