pyproject.toml
[tool.poetry]name = "CrypticBot"version = "0"description = ""authors = ["Defelo <elodef42@gmail.com>"]readme = "README.md"license = "GPL-3.0-only"homepage = "https://github.com/PyDrocsid/CrypticBot"repository = "https://github.com/PyDrocsid/CrypticBot" [tool.poetry.dependencies]python = "^3.10"#PyDrocsid = "^2.3.0dev1"PyDrocsid = { path = "library/", develop = true }SQLAlchemy = "^1.4.36"aiohttp = "^3.8.1"requests = "^2.27.1"python-dateutil = "^2.8.2" [tool.poetry.dev-dependencies]flake8 = "^4.0.1"isort = "^5.10.1"black = "^22.3.0"wemake-python-styleguide = "^0.16.1"mypy = "^0.950"SQLAlchemy = { extras = ["mypy"], version = "^1.4.36" }types-python-dateutil = "^2.8.14"types-requests = "^2.27.22"types-PyYAML = "^6.0.7" [tool.poe.tasks]bot = { cmd = "python bot/cryptic_bot.py", envfile = ".env" }flake8 = "flake8 . --count --statistics --show-source"isort = "isort ."black = "black ."format = ["isort", "black"]mypy = "mypy ."lint = ["format", "flake8"]pre-commit = ["lint"] [tool.poe.tasks.setup]shell = """set -expoetry install --no-rootif ! [[ -e .env ]]; then cp bot.env .env; fi./pre-commit.sh installunset VIRTUAL_ENVgit submodule update --initgit submodule foreach 'poe setup'"""interpreter = "bash" [tool.black]target-version = ["py310"]line-length = 120skip-magic-trailing-comma = true [tool.isort]profile = "black"py_version = 310line_length = 120lines_after_imports = 2reverse_relative = trueknown_pydrocsid = ["PyDrocsid"]known_local_folder = ["cogs"]sections = ["FUTURE", "STDLIB", "FIRSTPARTY", "THIRDPARTY", "PYDROCSID", "LOCALFOLDER"] [tool.mypy]strict = trueignore_missing_imports = trueno_incremental = trueexclude = ["bot/library/PyDrocsid"]plugins = ["sqlalchemy.ext.mypy.plugin"] [build-system]requires = ["setuptools", "poetry-core>=1.0.0"]build-backend = "poetry.core.masonry.api"