-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
90 lines (76 loc) · 1.99 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
89
90
[tool.poetry]
name = "notifier"
version = "0.0.0"
description = "Wikidot notifications"
authors = ["Ross Williams <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.8"
APScheduler = "^3.7.0"
requests = "^2.26.0"
bs4 = "^0.0.1"
tomlkit = "^0.7.2"
pycron = "^3.0.0"
feedparser = "^6.0.8"
emoji = "^1.4.2"
yagmail = {extras = ["all"], version = "^0.14.256"}
SecretStorage = "^3.3.1"
pymysql = "^1.0.3"
boto3 = "^1.26.160"
python-dateutil = "^2.8.2"
typing-extensions = "^4.7.1"
[tool.poetry.group.dev.dependencies]
black = "^22.3.0"
pytest = "^6.2.4"
isort = "^5.9.2"
pylint = "^2.9.6"
mypy = "^1.10.0"
boto3-stubs = {extras = ["essential"], version = "^1.28.2"}
types-beautifulsoup4 = "^4.12.0.5"
types-requests = "^2.31.0.1"
types-emoji = "^2.1.0.3"
types-pymysql = "^1.0.19.7"
types-python-dateutil = "^2.8.19.13"
[tool.black]
line-length = 79
target-version = ['py38']
include = '\.pyi?$'
[tool.isort]
profile = "black"
skip_gitignore = true
[tool.pylint.messages_control]
disable = [
"invalid-name", # oh sorry did I forget to uppercase?
"missing-module-docstring", # filenames are good enough
"redefined-outer-name", # for pytest
"broad-except", # I understand the risks, but sometimes this is useful
"line-too-long", # black can handle itself
"consider-using-f-string", # f strings are way too brittle in 3.9
]
[tool.mypy]
strict = true
[[tool.mypy.overrides]]
module = "yagmail.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "apscheduler.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "boto3.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "feedparser.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "pycron.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tomlkit.*"
implicit_reexport = true
[tool.pytest.ini_options]
markers = [
"needs_database: Tests that require the sample database"
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"