This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
75 lines (67 loc) · 2.02 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
[tool.poetry]
name = "morelia_server"
version = "0.4.0"
description = "Morelia Server - server for MoreliaTalk messenger"
authors = ["MoreliaTalk Team"]
license = "LGPL-3.0"
readme = "README.md"
[tool.poetry.dependencies]
starlette = "==0.20.4"
uvicorn = "==0.18.3"
email-validator = "==1.2.1"
sqlobject = "==3.9.1"
loguru = "==0.6.0"
websockets = "==10.3"
pydantic = "==1.10.2"
python-multipart = "==0.0.5"
websocket-client = "==1.4.1"
coverage = "==6.4.4"
requests = "==2.28.1"
win32-setctime = "*"
sphinx = "==4.4.0"
furo = "==2022.6.21"
python = "^3.10"
setuptools = "==65.3.0"
tomli = "^2.0.1"
tomli-w = "^1.0.0"
typer = {extras = ["all"], version = "^0.7.0"}
faker = "^16.4.0"
[tool.poetry.dev-dependencies]
flake8 = "==5.0.4"
flake8-import-order = "==0.18.1"
flake8-docstrings = "==1.6.0"
flake8-builtins = "==1.5.3"
coveralls = "==3.3.1"
mypy = "==0.971"
Flake8-pyproject = "==1.1.0.post0"
[tool.coverage.run]
branch = true
omit = ["*tests*"]
[tool.coverage.report]
precision = 0
[tool.mypy]
ignore_missing_imports = true
namespace_packages = true
explicit_package_bases = true
[[tool.mypy.overrides]]
module = 'mod.protocol.mtp.worker'
no_strict_optional = true
[tool.flake8]
max-line-length = 79
# D107 - Missing docstring in __init__
# D202 - No blank lines allowed after function docstring
# D203 - 1 blank line required before class docstring
# D204 - 1 blank line required after class docstring
# D205 - 1 blank line required between summary line and description
# F721 - syntax error in doctest
# D212 - Multi-line docstring summary should start at the first line
# D200 - One-line docstring should fit on one line with quotes
# W293 - blank line contains whitespace
ignore = ["D107", "D202", "D203", "D204", "D205", "F721", "D212", "D200", "W293"]
application-import-names = ["morelia_server", "tests", "admin", "mod"]
import-order-style = "google"
docstring-convention = "google"
exclude = [".github", ".git", "__pycache__", "docs/source/conf.py", "tests"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"