forked from elokapina/middleman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
49 lines (43 loc) · 1.37 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
[tool.poetry]
name = "support-bot"
version = "1.1.1"
description = "Ticketing system for Matrix Synapse Element implemented through a matrix bot."
authors = ["murlock1000 <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.8"
matrix-nio = {version = "^0.24.0", extras = ["e2e"]}
PyYAML = "<7"
markdown = "^3.1.1"
psycopg2 = "<3"
grpcio = "^1.58.0"
commonmark = "<1"
grpcio-tools = "^1.58.0"
[tool.poetry.group.dev.dependencies]
isort = "5.0.4"
flake8 = "3.8.3"
flake8-comprehensions = "3.2.3"
black = "19.10b0"
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
line_length = 88
sections=["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "TESTS", "LOCALFOLDER"]
default_section="THIRDPARTY"
known_first_party=["nio_poll_bot"]
known_tests=["tests"]
multi_line_output=3
include_trailing_comma=true
combine_as_imports=true
[tool.flake]
# see https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
# for error codes. The ones we ignore are:
# W503: line break before binary operator
# W504: line break after binary operator
# E203: whitespace before ':' (which is contrary to pep8?)
# E731: do not assign a lambda expression, use a def
# E501: Line too long (black enforces this for us)
ignore=["W503", "W504", "E203", "E731", "E501"]