1
Fork 0
mirror of https://github.com/RGBCube/minearchy-bot synced 2025-07-27 08:57:46 +00:00

Fix poetry run

This commit is contained in:
RGBCube 2022-11-27 12:01:19 +03:00
parent fb8553c681
commit 6111101418
2 changed files with 10 additions and 8 deletions

View file

@ -8,6 +8,8 @@ from uvloop import install as install_uvloop
from . import MinearchyBot from . import MinearchyBot
def main() -> None:
install_uvloop() install_uvloop()
with (Path(__file__).parent.parent / "config.json").open() as f: with (Path(__file__).parent.parent / "config.json").open() as f:

View file

@ -19,7 +19,7 @@ unimport = "*"
pyright = "*" pyright = "*"
[tool.poetry.scripts] [tool.poetry.scripts]
bot = "minearchy_bot.__main__:__main__" bot = "minearchy_bot.__main__:main"
[tool.black] [tool.black]
line-length = 100 line-length = 100