-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
78 lines (67 loc) · 2.35 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
74
75
76
77
78
[tool.poetry]
name = "dayong"
version = "0.2.9"
description = "Discord Bot for SurPath Hub's server"
readme = "README.md"
authors = ["Your Name <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "3.9.7"
python-dotenv = "^0.19.0"
sqlmodel = "^0.0.4"
asyncpg = "^0.24.0"
uvloop = "^0.16.0"
hikari = "^2.0.0.dev103"
hikari-tanjun = "^2.1.1a1"
rich = "^10.10.0"
pragmail = "^0.2.4"
loguru = "^0.5.3"
APScheduler = "^3.8.1"
"discord.py" = "^1.7.3"
[tool.poetry.dev-dependencies]
black = { version = "*", allow-prereleases = true }
isort = "^5.9.3"
flake8 = "^3.9.2"
pylint = "^2.10.2"
pytest = "^6.2.4"
pre-commit = "^2.14.0"
pyright = "^0.0.10"
[tool.poetry.extras]
flake8-extras = [
# Flake8 plugins
# Ref: https://github.com/DmytroLitvinov/awesome-flake8-extensions
"flake8-black==0.2.3", # runs black
"flake8-broken-line==0.3.0", # forbey "\" linebreaks
"flake8-builtins==1.5.3", # builtin shadowing checks
"flake8-coding==1.3.2", # coding magic-comment detection
"flake8-comprehensions==3.6.1", # comprehension checks
"flake8-deprecated==1.3", # deprecated call checks
"flake8-docstrings==1.6.0", # pydocstyle support
"flake8-executable==2.1.1", # shebangs
"flake8-fixme==1.1.1", # "FIXME" and "TODO"counter
"flake8-functions==0.0.6", # function linting
"flake8-if-statements==0.1.0", # condition linting
"flake8-isort==4.0.0", # runs isort
"flake8-mutable==1.2.0", # mutable default argument detection
"flake8-pep3101==1.3.0", # new-style format strings only
"flake8-print==4.0.0", # complain about print statements in code
"flake8-printf-formatting==1.1.2", # forbey printf-style python2 string formatting
"flake8-pytest-style==1.5.0", # pytest checks
"flake8-raise==0.0.5", # exception raising linting
]
[tool.black]
target-version = ["py39"]
[tool.isort]
profile = "black"
[tool.pyright]
typeCheckingMode = "strict"
useLibraryCodeForTypes = true
include = ["dayong"]
exclude = ["**/__pycache__", "dayong/exts/apscheduled"]
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.9"
pythonPlatform = "Linux"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"