From 9a885cd805bace338e3b1b1d78ed06b5c24327d8 Mon Sep 17 00:00:00 2001 From: Thomas Schraitle Date: Sat, 29 Feb 2020 21:35:02 +0100 Subject: [PATCH] Fix #224: Replace super() call In class clean, replace super(CleanCommand, self).run() with CleanCommand.run(self) Co-authored-by: Dennis Menschel --- CHANGELOG.rst | 19 +++++++++++++++++++ setup.py | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a10cc03a..03a18b7f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,25 @@ Change Log All notable changes to this code base will be documented in this file, in every released version. +Version 2.9.x (WIP) +=================== + +:Released: 2020-xx-yy +:Maintainer: + +Features +-------- + +Bug Fixes +--------- + +* :gh:`224` (:pr:`226`): Replaced in class ``clean``, ``super(CleanCommand, self).run()`` with + ``CleanCommand.run(self)`` + + +Removals +-------- + Version 2.9.1 ============= diff --git a/setup.py b/setup.py index d73690ee..15829461 100755 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ def run_tests(self): class Clean(CleanCommand): def run(self): - super(CleanCommand, self).run() + CleanCommand.run(self) delete_in_root = ["build", ".cache", "dist", ".eggs", "*.egg-info", ".tox"] delete_everywhere = ["__pycache__", "*.pyc"] for candidate in delete_in_root: