Skip to content

Commit 574b5b5

Browse files
pre-commit-ci[bot]hugovk
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5980fe2 commit 574b5b5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,35 +27,35 @@ def read(*names, **kwargs):
2727

2828
class BuildWithPTH(build):
2929
def run(self, *args, **kwargs):
30-
build.run(self, *args, **kwargs)
30+
super().run(*args, **kwargs)
3131
path = join(dirname(__file__), 'src', 'pytest-cov.pth')
3232
dest = join(self.build_lib, basename(path))
3333
self.copy_file(path, dest)
3434

3535

3636
class EasyInstallWithPTH(easy_install):
3737
def run(self, *args, **kwargs):
38-
easy_install.run(self, *args, **kwargs)
38+
super().run(*args, **kwargs)
3939
path = join(dirname(__file__), 'src', 'pytest-cov.pth')
4040
dest = join(self.install_dir, basename(path))
4141
self.copy_file(path, dest)
4242

4343

4444
class InstallLibWithPTH(install_lib):
4545
def run(self, *args, **kwargs):
46-
install_lib.run(self, *args, **kwargs)
46+
super().run(*args, **kwargs)
4747
path = join(dirname(__file__), 'src', 'pytest-cov.pth')
4848
dest = join(self.install_dir, basename(path))
4949
self.copy_file(path, dest)
5050
self.outputs = [dest]
5151

5252
def get_outputs(self):
53-
return chain(install_lib.get_outputs(self), self.outputs)
53+
return chain(super().get_outputs(), self.outputs)
5454

5555

5656
class DevelopWithPTH(develop):
5757
def run(self, *args, **kwargs):
58-
develop.run(self, *args, **kwargs)
58+
super().run(*args, **kwargs)
5959
path = join(dirname(__file__), 'src', 'pytest-cov.pth')
6060
dest = join(self.install_dir, basename(path))
6161
self.copy_file(path, dest)

0 commit comments

Comments
 (0)