-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (77 loc) · 1.33 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
79
80
81
82
83
84
85
86
87
88
[project]
name = "channel-discussion-antispam-bot"
version = "0.0.1"
dependencies = [
"python-telegram-bot[webhooks]>20",
"python-dotenv",
"sentry-sdk",
"peewee",
"psycopg2-binary",
"emoji",
]
[project.optional-dependencies]
dev = [
"ipython",
"watchdog[watchmedo]",
"mypy",
"types-emoji",
"types-boto3",
"isort",
"autopep8<1.6.0",
"flake8-bugbear",
"flake8-cognitive-complexity",
"flake8-commas",
"flake8-eradicate",
"flake8-isort>=4.0.0",
"flake8-fixme",
"flake8-multiline-containers",
"flake8-mutable",
"flake8-pep3101",
"flake8-pie",
"flake8-print",
"flake8-printf-formatting",
"flake8-quotes",
"flake8-simplify",
"flake8-todo",
"flake8-use-fstring",
"flake8-variables-names",
"flake8-walrus",
"flake8-pyproject",
"pytest-deadfixtures",
"pytest-mock",
"pytest-randomly",
"pytest-env",
]
[tool.setuptools]
packages = []
[tool.flake8]
max-line-length = 160
ignore = [
"E501",
"E265",
"F811",
"B010",
"PT001",
"VNE003",
"PIE783",
"PIE785",
"SIM113",
"SIM102",
"FS003",
"W504",
"PIE801",
]
exclude = [
"venv",
".git",
"__pycache__",
]
[tool.isort]
line_length = 160
known_standard_library = ["typing"]
multi_line_output = 4
[tool.pytest.ini_options]
python_files = ["test*.py"]
env = [
"DATABASE_URL=postgres://postgres@localhost:5432/postgres"
]