Commit Graph

17 Commits

Author SHA1 Message Date
Maximilian Dorninger
a39e0d204a Ruff enable type annotations rule (#362)
This PR enables the ruff rule for return type annotations (ANN), and
adds the ty package for type checking.
2026-01-06 17:07:19 +01:00
Marcel Hellwig
ff013ac76e ruff: enable I lint 2026-01-05 19:30:42 +01:00
Marcel Hellwig
eac58d2843 ruff: enable FAST lint
this mostly is replacing the response_model attribute with a return type
of that function since that's the more idiomatic way to do
2026-01-05 19:30:42 +01:00
Maximilian Dorninger
2b21915b1f Fix torrent deletion logic 2025-12-21 15:25:42 +01:00
Maximilian Dorninger
855385b097 Apply suggestion from @Copilot
raise exception rather than return it and fix var name switch up

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-30 16:25:44 +01:00
maxDorninger
22c4ddc869 add ability to change imported state of a torrent 2025-10-29 17:29:46 +01:00
maxDorninger
39c88a0519 add retry and delete buttons to torrents table 2025-10-29 14:22:22 +01:00
maxDorninger
82ddadf8f7 format code and change schedule on which certain tasks are executed 2025-07-01 21:20:08 +02:00
maxDorninger
e8a04a1d71 remove obsolete code 2025-07-01 21:14:52 +02:00
maxDorninger
ba92399d8c fix wrong keyword being used for the argument 2025-06-30 18:47:27 +02:00
maxDorninger
44b9137b64 remove trailing slashes in some routes 2025-06-29 23:30:23 +02:00
maxDorninger
61d88a25ac clean up torrent/router.py 2025-06-24 19:25:53 +02:00
maxDorninger
9360b88842 format code with ruff 2025-06-22 17:41:50 +02:00
maxDorninger
3d9e9d00d0 add get_torrent_by_id dependency, add 404 error message and make NotFoundException globally available 2025-06-08 18:40:30 +02:00
maxDorninger
d82f9a3d9e add back feature to auto import all torrents 2025-06-08 18:26:56 +02:00
maxDorninger
32de886dbe refactor indexer module to implement dependency injection 2025-06-08 16:59:27 +02:00
maxDorninger
206df8b150 refactor: change folder structure 2025-05-29 15:36:35 +02:00