src/url_checks/checks.py
def _check_resolver(path, namespace):
    """Verify that an include path ends with a slash"""
    pattern = str(path.pattern)
    if len(pattern) > 0 and not pattern.endswith(("/", "/$")):
        return MESSAGES.NO_SLASH_RESOLVER(
            hint=f'Add slash to end of include path "{pattern}"'
        )
Verify that an include path ends with a slash
Verify that an include path ends with a slash
Verify that an include path ends with a slash
def _check_resolver(path, namespace):
    pattern = str(path.pattern)
    if len(pattern) > 0 and not pattern.endswith(("/", "/$")):
        return MESSAGES.NO_SLASH_RESOLVER(
            hint=f'Add slash to end of include path "{pattern}"'
        )
def _check_resolver ( path , namespace ) : pattern = str ( path . pattern ) if len ( pattern ) > 0 and not pattern . endswith ( ( "/" , "/$" ) ) : return MESSAGES . NO_SLASH_RESOLVER ( hint = f'Add slash to end of include path "{pattern}"' )
Verify that an include path ends with a slash
Verify that an include path ends with a slash
"""Verify that an include path ends with a slash"""
path
namespace