Skip to content

Commit 68199e7

Browse files
authored
Merge pull request #491 from pytest-dev/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 950393b + 574b5b5 commit 68199e7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
hooks:
2020
- id: flake8
2121
- repo: https://github.com/asottile/pyupgrade
22-
rev: v2.23.3
22+
rev: v2.28.0
2323
hooks:
2424
- id: pyupgrade
2525
args: [--py36-plus]

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)