ruff.toml: enable RSE plugin

This commit is contained in:
Jelle van der Waa 2024-05-31 21:20:44 +02:00 committed by Jelle van der Waa
parent 2e6182da8f
commit bee08575b7
2 changed files with 2 additions and 1 deletions

View File

@ -104,7 +104,7 @@ def parse_entry(self, entry, feed_instance, latest):
if latest and latest.publishdate >= published:
logger.debug("feed: '%s' has no more new entries", url)
raise ItemOlderThenLatest()
raise ItemOlderThenLatest
if not entry.link:
logger.error("feed '%s' entry has no link, skipping", url)

View File

@ -11,6 +11,7 @@ select = [
"ISC", # flake8-implicit-str-concat
"PIE", # flake8-pie
"PLE", # pylint errors
"RSE", # flake8-raise
"T10", # flake8-debugger
"TCH", # flake8-type-checking
"UP032", # f-string