Commit Graph

11 Commits

Author SHA1 Message Date
Sebastian Rittau
f135c6515d Fix size parameter of FPDF.set_font_size (#8234) 2022-07-04 12:23:31 +01:00
Shantanu
b4587c64c6 Bump fpdf2 to 2.5.* (#8173)
Co-authored-by: hauntsaninja <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-29 16:54:36 +01:00
Shantanu
cdcf264d07 fpdf2: improve types (#8176)
Co-authored-by: hauntsaninja <>
2022-06-26 20:53:29 +05:30
Alex Waygood
740193a8fc Use TypeAlias where possible for type aliases (#7630) 2022-04-15 18:01:00 -07:00
Sebastian Rittau
97a327b984 fpdf2: Correct annotations of @contextmanager methods (#7172) 2022-02-10 18:15:09 +01:00
Alex Waygood
8d5d2520ac Use PEP 585 syntax wherever possible (#6717) 2021-12-28 11:31:43 +01:00
Sebastian Rittau
9bf2ceb963 Fix third-party issues found by stubtest (#6667) 2021-12-22 15:09:44 -08:00
Sebastian Rittau
0cecceed90 Add some missing attributes and types to FPDF (#6618) 2021-12-21 07:54:04 -08:00
Akuli
a5bc1e037f Add mypy error codes to '# type: ignore' comments (#6379) 2021-11-26 07:07:56 +01:00
Sebastian Rittau
1b0e268102 Improve fpdf.image_parsing (#6313)
* Annotate more attributes, arguments, and return types.
* Add "dims" argument to get_img_info(), added in 2.4.6.
2021-11-16 17:35:08 +01:00
Sebastian Rittau
f2551376ae Add stubs for fpdf2 (#6252) 2021-11-10 19:06:26 +02:00