hooks/pre-commit: enable pydocstyle, if installed

This commit is contained in:
Hans-Christoph Steiner 2023-04-21 09:40:57 +02:00
parent d7214a7f1c
commit a692cd9d72
2 changed files with 7 additions and 3 deletions

View file

@ -10,15 +10,15 @@ from setuptools.command.install import install
class VersionCheckCommand(Command):
"""Make sure git tag and version match before uploading"""
"""Make sure git tag and version match before uploading."""
user_options = []
def initialize_options(self):
"""Abstract method that is required to be overwritten"""
"""Abstract method that is required to be overwritten."""
def finalize_options(self):
"""Abstract method that is required to be overwritten"""
"""Abstract method that is required to be overwritten."""
def run(self):
version = self.distribution.get_version()