asciidoxy/generator/asciidoc.py
def require_version(self, specifier: str) -> str:
        """Require a specific version of AsciiDoxy.

        If the running version of AsciiDoxy does not match, an exception is thrown and generation
        stops.

        Args:
            specifier: One or more comma-separated version specifiers matching the PEP 440
            standard.
        """
        spec = SpecifierSet(specifier)

        if not Version(__version__) in spec:
            raise IncompatibleVersionError(specifier)

        # Prevent output of None
        return ""
Require a specific version of AsciiDoxy.

        If the running version of AsciiDoxy does not match, an exception is thrown and generation
        stops.

        Args:
            specifier: One or more comma-separated version specifiers matching the PEP 440
            standard.
        
Require a specific version of AsciiDoxy.
If the running version of AsciiDoxy does not match, an exception is thrown and generation
stops.

One or more comma-separated version specifiers matching the PEP 440
standard.
Require a specific version of AsciiDoxy . If the running version of AsciiDoxy does not match an exception is thrown and generation stops . One or more comma - separated version specifiers matching the PEP 440 standard .
def require_version(self, specifier: str) -> str:
        spec = SpecifierSet(specifier)
        if not Version(__version__) in spec:
            raise IncompatibleVersionError(specifier)
        return ""
def require_version ( self , specifier : str ) -> str : spec = SpecifierSet ( specifier ) if not Version ( __version__ ) in spec : raise IncompatibleVersionError ( specifier ) return ""
Require a specific version of AsciiDoxy.
Require a specific version of AsciiDoxy .
"""Require a specific version of AsciiDoxy.

        If the running version of AsciiDoxy does not match, an exception is thrown and generation
        stops.

        Args:
            specifier: One or more comma-separated version specifiers matching the PEP 440
            standard.
        """ # Prevent output of None
self
specifier
str