Skip to content

Commit

Permalink
Minor typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nexy7574 committed Dec 20, 2024
1 parent 9100b66 commit 2d1dbe0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/niobot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class __VersionMeta:
version_meta = __VersionMeta()

__author__ = "Nexus <pip@nexy7574.co.uk>"
__license__ = "GNU GPLv3"
__license__ = "GNU LGPLv3"
__url__ = "https://github.com/nexy7574/niobot"
__title__ = "niobot"
__description__ = "A Matrix bot framework written in Python built on matrix-nio."
Expand Down
2 changes: 1 addition & 1 deletion src/niobot/utils/federation.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async def resolve_homeserver(domain: str) -> str:
:param domain: The domain to crawl
:return: The resolved homeserver
"""
from niobot import __user_agent__
from .. import __user_agent__

if not domain.startswith("https://"):
domain = f"https://{domain}"
Expand Down
2 changes: 1 addition & 1 deletion src/niobot/utils/help_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import textwrap
import typing

from niobot.exceptions import CheckFailure
from ..exceptions import CheckFailure

if typing.TYPE_CHECKING:
from ..commands import Command
Expand Down
2 changes: 1 addition & 1 deletion src/niobot/utils/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__all__ = ("MXID_REGEX", "deprecated", "silence_noisy_loggers")

MXID_REGEX = re.compile(r"@[a-z0-9._=\-/+]+:[\w\-.]+")
# WARNING: this regex doe snot fully conform to the spec, nor do any validation.
# WARNING: this regex does not fully conform to the spec, nor do any validation.
# However, it will cover the majority of cases.
# Use `NioBot.parse_user_mentions` for more validation

Expand Down

0 comments on commit 2d1dbe0

Please sign in to comment.