Adeodato Simó
90bd893568
Fix remaining instances of bad-classmethod-argument
2024-03-17 21:28:55 -03:00
Adeodato Simó
9d502f5ee2
Use setUpTestData() to speed up tests
...
Pylint's `bad-classmethod-argument` is disabled for each definition
to avoid rewriting the method bodies just to rename `self` → `cls`.
This can be done gradually, as the setUpTestData methods are modified
along the way.
2023-12-11 19:40:30 -03:00
Joeri de Ruiter
ae5c27f3bb
Sanitise description from Open Library
2023-08-02 19:30:40 +02:00
Joeri de Ruiter
f4a4b59a14
Merge branch 'main' into markdown-import
2023-08-02 19:19:07 +02:00
Joeri de Ruiter
1a733746f2
Only remove surrounding p tags if there are no other p tags
2023-08-01 12:17:57 +02:00
Joeri de Ruiter
1a215e9b9e
Convert description from Markdown to HTML when importing from Open Library
2023-08-01 11:45:46 +02:00
Joeri de Ruiter
f07d7b02f1
Type annotations and related changes for bookwyrm.connectors
2023-07-28 17:43:32 +02:00
Josh Soref
cee2de41ca
spelling: handling
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-04-04 20:02:54 -04:00
Mouse Reeve
08231f52ff
Merge pull request #2150 from cincodenada/fix-pylint
...
Fix pylint config for pylint 2.14.0
2022-06-05 15:41:32 -07:00
Joel Bradshaw
6d6ab9a531
Add .pylintrc with fixes for new pylint version
2022-06-05 14:38:03 -07:00
Mouse Reeve
98ed03b6b4
Python formatting and test update
2022-05-30 17:00:34 -07:00
Mouse Reeve
4248c23c49
Test loading ISNI from openlibrary
2021-12-07 13:58:23 -08:00
Mouse Reeve
22af7ece71
Fixes SearchResult imports in tests
2021-09-16 12:41:30 -07:00
Mouse Reeve
0a7afdb1c0
Python formatting
2021-08-02 16:07:39 -07:00
Mouse Reeve
6d8bced0f1
Refactors test mocks
2021-08-02 16:05:40 -07:00
Joachim
878cc5cb17
Lint
2021-05-27 23:21:47 +02:00
Joachim
f8df501239
Fix tests (for realz)
2021-05-27 23:19:17 +02:00
Joachim
2ea1cd8319
Tests
2021-05-26 23:57:29 +02:00
Mouse Reeve
3ade2d3bb1
New version of black, new whitespace
2021-04-26 09:15:42 -07:00
Mouse Reeve
76f1643269
Tests ignore edition openlibrary connector code
...
also removes print statements oops
2021-03-13 10:11:13 -08:00
Mouse Reeve
70296e760b
Runs black
2021-03-08 08:49:10 -08:00
Henri Bourcereau
703ff60271
isbn search
2021-03-06 18:09:15 +01:00
Mouse Reeve
cbf5479253
Test fixes
2021-02-17 08:35:17 -08:00
Mouse Reeve
7faf639758
Fixes openlibrary connector test
2021-02-03 12:52:13 -08:00
Mouse Reeve
9833f5a03d
Tests creating editions
2021-01-30 17:44:42 -08:00
Mouse Reeve
6668f54889
Fixes openlibrary test and navbar hover aria unfurl
2021-01-03 14:41:10 -08:00
Mouse Reeve
d828b0ead9
Remove books manager at long last
2021-01-02 08:14:28 -08:00
Mouse Reeve
03ed1cfa94
Small syntax changes in openlibrary connector
2020-12-31 11:03:30 -08:00
Mouse Reeve
171d09599c
Fixes author path in openlibrary connector
2020-12-31 09:32:40 -08:00
Mouse Reeve
c1e1bdac4b
Fixes url formatting in openlibrary connector
2020-12-31 09:19:39 -08:00
Mouse Reeve
862f1d2580
Fixes cover unit test
2020-12-21 12:22:47 -08:00
Mouse Reeve
c407015a82
Fixes tests
2020-12-19 16:33:56 -08:00
Mouse Reeve
c7883cd615
Updates migrations
...
To get the app working again I ran resetdb, let it crash in initdb,
then ran the migration, then re-ran initdb
2020-09-21 08:10:37 -07:00
Mouse Reeve
f77c156733
rename main code directory
2020-09-17 13:30:54 -07:00