diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..24eb29a --- /dev/null +++ b/.coveragerc @@ -0,0 +1,6 @@ +[run] +branch = True + +[report] +exclude_lines = + if __name__ == "__main__": diff --git a/luddite.py b/luddite.py index 66d9d02..40d08cc 100755 --- a/luddite.py +++ b/luddite.py @@ -24,7 +24,7 @@ sys.stdout = codecs.getwriter("utf8")(sys.stdout) -__version__ = "1.0.1" +__version__ = "1.0.2" DEFAULT_FNAME = "requirements.txt" diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..f6173da --- /dev/null +++ b/pytest.ini @@ -0,0 +1,6 @@ +[pytest] +addopts = + --verbose + --cov=luddite --cov-report=html --cov-report=term --no-cov-on-fail + --ignore=setup.py + --disable-socket diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 5ba21f0..0000000 --- a/setup.cfg +++ /dev/null @@ -1,16 +0,0 @@ -[bdist_wheel] -universal = true - -[tool:pytest] -addopts = - --verbose - --cov=luddite --cov-report=html --cov-report=term --no-cov-on-fail - --ignore=setup.py - --disable-socket - -[coverage:run] -branch = True - -[coverage:report] -exclude_lines = - if __name__ == "__main__": diff --git a/setup.py b/setup.py index 4168af5..7f5ed10 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="luddite", - version="1.0.1", + version="1.0.2", author="Wim Glenn", author_email="hey@wimglenn.com", url="https://github.com/jumptrading/luddite", @@ -32,4 +32,5 @@ "coveralls", ], }, + options={"bdist_wheel": {"universal": True}}, )