22ea553f48
improve typing
2023-11-26 18:28:17 +01:00
6d0c61fceb
upgrade to Python 3.12
...
This includes only the most basic steps of the upgrade, to make the
existing code run with Python 3.12. No refactoring to make use of new
features is included.
2023-11-26 17:09:07 +01:00
79068f2f10
add honcho as explicit dev dependency
2023-11-26 16:46:38 +01:00
2c65436df5
add .python-version file
2023-11-26 15:11:24 +01:00
7665dfe769
switch from black/isort/autoflake to ruff
2023-11-26 15:10:16 +01:00
b5a93cb92f
update Npm dependencies
2023-07-22 20:19:23 +02:00
25f31db756
improve strict typing
2023-07-22 20:13:46 +02:00
86c3030e31
remove unused classvars
2023-07-22 20:07:58 +02:00
91d06f607c
update Python dependencies
2023-07-22 20:07:58 +02:00
2963a1d3f6
improve strict typing
2023-03-28 23:32:24 +02:00
8b5cbdf903
make sure WAL mode is active
2023-03-28 23:06:14 +02:00
37e8d53b78
migrate db.current_patch_level to SQLAlchemy
2023-03-28 23:03:35 +02:00
e27b57050a
remove unused functions
2023-03-28 22:05:14 +02:00
84bbe331ee
migrate db.find_movies to SQLAlchemy
2023-03-28 21:50:15 +02:00
1fd7e730b3
migrate db.ratings_for_movies to SQLAlchemy
2023-03-28 21:50:15 +02:00
1a3528e096
migrate db.find_ratings to SQLAlchemy
2023-03-28 21:50:14 +02:00
d4933bf1a6
migrate db.ratings_for_movie_ids to SQLAlchemy
2023-03-23 23:33:59 +01:00
b91fcd3f55
migrate db.add, db.update, db.remove to SQLA
2023-03-23 22:49:17 +01:00
6f6354cfac
migrate db.get to SQLAlchemy
2023-03-20 21:37:50 +01:00
af9c166124
migrate db.get_many to SQLAlchemy
2023-03-19 23:14:59 +01:00
a444909b1f
minor refactoring
2023-03-19 22:59:08 +01:00
f1bafbb4a2
report code coverage for tests
2023-03-19 22:36:36 +01:00
1dd7bab4aa
migrate db.get_all to pure SQLAlchemy
2023-03-19 22:36:33 +01:00
5015815097
add SQLAlchemy table definitions to models
2023-03-18 23:51:40 +01:00
f97c5c8472
add some route tests
2023-03-18 23:30:40 +01:00
00486778db
make SQLAlchemy 1.4 dependency explicit
2023-03-18 22:11:51 +01:00
c9c95ba2fa
improve typing for config
2023-03-18 22:09:03 +01:00
a020d972f8
Merge branch 'feat/py311'
2023-03-18 01:12:35 +01:00
15e6e49102
remove unused functions
2023-03-18 00:29:41 +01:00
496c51402a
fix using deprecated SQLAlchemy mapping access
2023-03-18 00:29:29 +01:00
eb76ab1867
fix using deprecated Starlette feature
...
`on_startup`/`on_shutdown` will be removed in v1.0.
2023-03-18 00:09:58 +01:00
5efa3ef2c2
run Poetry update
2023-03-17 23:34:47 +01:00
c2a9cfecf1
make listener port in Dockerfile configurable
2023-03-17 23:17:28 +01:00
9fb24741a1
remove unused sync request functions
2023-02-04 18:17:13 +01:00
b408fee1bc
add auto-formatting of tests to .git-blame-ignore-revs
2023-02-04 18:16:43 +01:00
9ffcc53571
apply auto-formatting to tests
2023-02-04 18:15:14 +01:00
65ae10c500
include test files in linting
2023-02-04 18:14:28 +01:00
324eb8e9b7
fix tests for Pytest-Asyncio running in strict mode
2023-02-04 18:12:50 +01:00
099770c80c
use async requests to refresh user ratings
2023-02-04 17:55:22 +01:00
60d38e9b49
improve typing
2023-02-04 17:30:54 +01:00
cb7c66a8d1
add simple profiling script
2023-02-04 14:56:09 +01:00
7a7d619e64
IMDb import: fix assertion
...
We should only assert where we know the result, here the input file
could just as well be empty.
2023-02-04 14:12:37 +01:00
69643455a6
IMDb import: fix progress reporting
...
Because we calculated the percentage based on the number of lines we
need to yield once per line, otherwise the count is off.
2023-02-04 14:12:36 +01:00
e84a6bc865
fix support for union type expressions
2023-02-04 12:46:30 +01:00
7da3a094f1
add "download-imdb-dataset" command to CLI
2023-02-04 01:13:19 +01:00
0563d49dbc
add async file download function
2023-02-04 01:13:19 +01:00
758706baa2
switch from Requests to HTTPX
2023-02-04 01:13:19 +01:00
8eabbf89d5
add .git-blame-ignore-revs
2023-02-04 01:13:17 +01:00
8a8bfce89d
apply Black v23.1.0 formatting changes
2023-02-04 01:12:50 +01:00
8e1988eea2
add Autoflake linting
2023-02-04 01:12:11 +01:00