Dima Gerasimov
973c4205df
core: cleanup deprecations, exclude from type checking and show runtime warnings
...
among affected things:
- core.common.assert_never
- core.common.cproperty
- core.common.isoparse
- core.common.mcachew
- core.common.the
- core.common.tzdatetime
- core.compat.sqlite_backup
2024-08-16 10:22:29 +01:00
Kian-Meng Ang
d2ef23fcb4
docs: fix typos
...
found via `codespell -L copie,datas,pres,fo,tooks,noo,ue,ket,frop`
2023-03-27 03:02:35 +01:00
Dima Gerasimov
73e57b52d1
general: cleanup -- remove main and executable bit where it's not necessary
2022-05-31 22:16:05 +01:00
Dima Gerasimov
9578b13fca
my.pdf: handle update to pdfannots 0.2
...
undoes f5b47dd695
, tests work properly now
resolves https://github.com/karlicoss/HPI/issues/180
2021-12-19 18:53:29 +00:00
Sean Breckenridge
5ecd4b4810
cleanup; remove unused imports
2021-04-02 08:38:06 +01:00
Dima Gerasimov
edf6e5d50b
my.pdfs: rely on pdfannots for created date extraction/parsing
2021-04-01 17:27:06 +01:00
Dima Gerasimov
ad177a1ccd
my.pdfs: cleanup/refactor
...
- modernize:
- add REQUIRES spec for pdfannots library
- config dataclass/config stub
- stats function
- absolute my.core imports in anticipation of splitting core
- use 'paths' instead of 'roots' (better reflects the semantics), use get_files
backward compatible via config migration
- properly run tests/mypy
2021-04-01 17:27:06 +01:00
Tom Craig
882ceb62fc
Add a "filelist" paramter to annotated_pdfs
2020-08-16 12:57:20 -07:00
Dima Gerasimov
9d5d368891
get rid of unnecessary .init imports
2020-05-06 22:05:16 +01:00
Dima Gerasimov
51ae8601b4
Update docstrings and add links
2020-04-26 16:50:06 +01:00
Dima Gerasimov
e5b3a1e91e
use my.config instead of mycfg; minor cleanups and docstrings
2020-04-12 00:22:10 +01:00
Dima Gerasimov
05d39d9120
some mypy cleanup
2020-03-24 21:15:21 +01:00
Dima Gerasimov
012249ceca
Use experimental cachew Exceptions
2020-01-08 22:07:34 +00:00
Dima Gerasimov
a57be019d0
prettier pdf handling; prepare for cachew
2020-01-08 21:08:08 +00:00
Dima Gerasimov
066641a4ce
Rename my_configuration to mycfg for brevity
2019-12-19 20:14:26 +00:00
Dima Gerasimov
a0b9d2dc05
Use user's polar dir
2019-10-11 22:10:12 +01:00
Dima Gerasimov
06940b8323
import pdfs provider
2019-10-01 22:28:55 +01:00
Dima Gerasimov
d407e84d74
move pdfs provider
2019-10-01 21:53:25 +01:00