Commit Graph

23 Commits

Author SHA1 Message Date
AMBER MURTUZA ANSARI
135bbd34a5 fpdf:annotation of dash_pattern, line_width, text_mode (#9387)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-12-25 16:24:06 +00:00
AMBER MURTUZA ANSARI
956873d0ce Fpdf2: annotate more graphics_state properties (#9337) 2022-12-13 18:12:09 +00:00
AMBER MURTUZA ANSARI
503eab31d7 fpdf:annotation of underline, font_style, font_streching (#9327)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-12-05 15:02:15 +00:00
AMBER MURTUZA ANSARI
ba0e073430 fpdf2: annotate draw_color, fill_color, text_color (#9282) 2022-12-01 20:46:36 +00:00
Sebastian Rittau
a46283c1cc Update fpdf2 stubs to 2.6 (#9236) 2022-11-22 20:44:53 -08:00
Nikita Sobolev
18e2ae762b Mark first argument of __[get|set|del]attr__ as str (#9245) 2022-11-22 11:06:50 +00:00
Darshan
1cfb5bb5a1 Add return types to fpdf.drawing (#8891)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-14 21:08:07 +03:00
Alex Waygood
5d45e3babc fpdf2: complete stubs (#8855) 2022-10-06 11:36:26 +02:00
Alex Waygood
f801229f37 fpdf2: Add missing files (#8836) 2022-10-03 17:05:37 -07:00
Alex Waygood
c4483a7b01 Update fdpf2 stubs for v2.5.7 (#8721)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2022-09-11 15:27:19 +01:00
Alex Waygood
8b222200e0 fpdf2: Remove redundant str | Literal['DEPRECATED'] union (#8650) 2022-08-30 19:54:52 +01:00
Shantanu
133d5f375c fpdf2: fix for 2.5.6 changes (#8546)
Life is much easier when upstream has some annotations

Fixes #8545
2022-08-16 21:32:39 -07:00
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