From b9378575fcc4bc85c51c2a5b273c389cb8cfb9a9 Mon Sep 17 00:00:00 2001 From: wim glenn Date: Sun, 25 Jul 2021 19:29:06 -0500 Subject: [PATCH 1/2] release v1.0.2 --- luddite.py | 2 +- pytest.ini | 6 ++++++ setup.cfg | 16 ---------------- setup.py | 3 ++- 4 files changed, 9 insertions(+), 18 deletions(-) create mode 100644 pytest.ini delete mode 100644 setup.cfg 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}}, ) From 99d16b18e2b35b324aa178020aa401f0bf35803b Mon Sep 17 00:00:00 2001 From: wim glenn Date: Sun, 25 Jul 2021 19:32:14 -0500 Subject: [PATCH 2/2] don't ignore that file --- .coveragerc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .coveragerc 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__":