This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
73 lines (65 loc) · 1.66 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[tool.poetry]
name = "PyDrocsid"
version = "2.3.4"
description = "Python Discord Bot Framework based on pycord"
authors = ["Defelo <elodef42@gmail.com>"]
readme = "README.md"
license = "GPL-3.0-only"
homepage = "https://github.com/PyDrocsid/library"
repository = "https://github.com/PyDrocsid/library"
packages = [{ include = "PyDrocsid" }]
include = ["PyDrocsid/emoji_map.json", "PyDrocsid/material_colors.yml", "PyDrocsid/translations/*"]
[tool.poetry.dependencies]
python = "^3.10"
py-cord = "^2.0.0"
SQLAlchemy = "^1.4.32"
PyYAML = "^6.0"
aiohttp = "^3.8.1"
sentry-sdk = "^1.5.12"
aenum = "^3.1.8"
aioredis = "^2.0.1"
asyncpg = "^0.25.0"
aiomysql = "^0.1.1"
httpx = "^0.23.0"
[tool.poetry.dev-dependencies]
flake8 = "^4.0.1"
black = "^22.3.0"
isort = "^5.10.1"
wemake-python-styleguide = "^0.16.1"
mypy = "^0.961"
SQLAlchemy = { extras = ["mypy"], version = "^1.4.32" }
types-PyYAML = "^6.0.5"
types-certifi = "^2021.10.8"
[tool.poe.tasks]
flake8 = "flake8 . --count --statistics --show-source"
isort = "isort ."
black = "black ."
format = ["isort", "black"]
mypy = "mypy ."
lint = ["format", "mypy", "flake8"]
pre-commit = ["lint"]
[tool.poe.tasks.setup]
shell = """
set -ex
poetry install --no-root
./pre-commit.sh install
"""
interpreter = "bash"
[tool.black]
target-version = ["py310"]
line-length = 120
skip-magic-trailing-comma = true
[tool.isort]
profile = "black"
py_version = 310
line_length = 120
lines_after_imports = 2
reverse_relative = true
[tool.mypy]
strict = true
ignore_missing_imports = true
namespace_packages = true
plugins = ["sqlalchemy.ext.mypy.plugin"]
[build-system]
requires = ["setuptools", "poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"