-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
100 lines (88 loc) · 2.15 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
91
92
93
94
95
96
97
98
99
100
[tool.poetry]
name = "letterboxd-rss"
version = "0.4.0"
description = "Generate an RSS feed from your letterboxd.com watchlist"
authors = ["Jan Willhaus <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/janw/letterboxd-rss"
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary",
]
[tool.poetry.dependencies]
python = "^3.9"
beautifulsoup4 = "^4"
requests = "^2"
feedgen = "^1.0"
[tool.poetry.group.dev.dependencies]
commitizen = "^3"
ruff = "0.7.1"
pre-commit = "^4"
mypy = "^1"
types-requests = "*"
ipdb = "*"
ipython = "<8.30"
[tool.poetry.scripts]
letterboxd-rss = "letterboxd_rss.cli:main"
[tool.commitizen]
version_scheme = "semver"
version_provider = "poetry"
version_files = [
"pyproject.toml:version = ",
"letterboxd_rss/__init__.py",
]
annotated_tag = true
tag_format = "v$version"
update_changelog_on_bump = true
changelog_start_rev = "0.3.0"
gpg_sign = true
[tool.ruff]
line-length = 120
target-version = "py39"
lint.extend-select = [
"I", # isort
"B", # bugbear
"A", # builtins
"ISC", # implicit-str-concat
"Q", # quotes
"TID", # tidy-imports
"C4", # comprehensions
"SIM", # simplify
"C90", # mccabe
"FA", # future-annotations
"TCH", # type-checking
"RUF", # ruff-specific
]
lint.ignore = [
"SIM108", # if-else-block-instead-of-if-exp
"ISC001", # single-line-implicit-string-concatenation
]
[tool.ruff.format]
quote-style = "double"
[tool.ruff.lint.mccabe]
max-complexity = 8
[tool.mypy]
disallow_untyped_defs = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_incomplete_defs = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
strict_optional = true
strict_equality = true
check_untyped_defs = true
no_implicit_reexport = true
packages = ["letterboxd_rss"]
[[tool.mypy.overrides]]
module = [
"feedgen.*",
"bs4.*",
]
ignore_missing_imports = true
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"