def linkcode_resolve(domain, info):  # type: ignore
    """Return github.com link for module."""
    if domain != "py" or "module" not in info:
        return None

    filename = info["module"].replace(".", "/")
    if filename == "python_awair":
        filename += "/__init__.py"
    else:
        filename += ".py"

    return "https://github.com/ahayworth/python_awair/tree/master/" + filename