2022-06-09 01:44:53 +02:00
|
|
|
[tool.black]
|
|
|
|
line-length = 120
|
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
plugins = [
|
|
|
|
"sqlalchemy.ext.mypy.plugin"
|
|
|
|
]
|
2022-06-17 01:51:06 +02:00
|
|
|
[[tool.mypy.overrides]]
|
2022-06-19 00:23:25 +02:00
|
|
|
module = ["discord.*", "feedparser.*", "markdownify.*"]
|
2022-06-17 01:51:06 +02:00
|
|
|
ignore_missing_imports = true
|
2022-06-09 01:44:53 +02:00
|
|
|
|
|
|
|
[tool.pylint.master]
|
|
|
|
disable = [
|
|
|
|
"missing-module-docstring",
|
2022-06-16 00:34:27 +02:00
|
|
|
"too-few-public-methods",
|
2022-06-19 00:23:25 +02:00
|
|
|
"too-many-arguments",
|
|
|
|
"too-many-instance-attributes"
|
2022-06-09 01:44:53 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[tool.pylint.format]
|
|
|
|
max-line-length = 120
|
2022-06-19 00:23:25 +02:00
|
|
|
good-names = ["i", "dt"]
|
2022-06-09 01:44:53 +02:00
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
2022-06-17 00:43:55 +02:00
|
|
|
asyncio_mode = "auto"
|
|
|
|
env = [
|
2022-06-19 00:23:25 +02:00
|
|
|
"TESTING = true",
|
2022-06-17 00:54:00 +02:00
|
|
|
"DB_NAME = didier_action",
|
2022-06-17 00:43:55 +02:00
|
|
|
"DB_USERNAME = postgres",
|
2022-06-17 00:54:00 +02:00
|
|
|
"DB_HOST = localhost",
|
2022-06-17 00:50:00 +02:00
|
|
|
"DISC_TOKEN = token"
|
2022-06-17 01:02:36 +02:00
|
|
|
]
|