py-pdf / pypdf

A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
https://pypdf.readthedocs.io/en/latest/
Other
8.3k stars 1.41k forks source link

DEV: Switch to latest pinned dependencies #2914

Open stefan6419846 opened 2 weeks ago

stefan6419846 commented 2 weeks ago

We are currently using some older versions of mypy and ruff. These should be upgraded to their latest versions.

mypy is rather straightforward as far as I have seen, while ruff has made some even bigger changes and requires modifying the pyproject.toml file as well as quite some (mostly automated) fixes.

I am planning on having a look at this myself in the next weeks.

stefan6419846 commented 1 week ago

I started working on this in #2918.

The pre-commit configuration and dev.txt file probably needs some love as well. pre-commit autoupdate might already cover most of this.

elprogramadorgt commented 1 week ago

Hey guys, I will love to help

stefan6419846 commented 1 week ago

2922 already fixes the remaining bits, thus there should not be much to do here.

What are your plans on helping us with this here?

elprogramadorgt commented 1 week ago

Oh great, well I've used this library on my python projects. I always wanted to contribute to this project but I wasnt very good at python, now I think that I get better and can help with something if you need to :)

stefan6419846 commented 1 week ago

You are of course always invited to have a look at some of the other issues which is not being worked on at the moment. Please keep in mind that most of the tasks tend to require some further PDF knowledge, so you probably want to start with getting familiar with PDF basics and once you have found an issue to work on dig deeper into the relevant aspects of the specification.