lucyparsons / OpenOversight

Police oversight and accountability through public data 👮
https://openoversight.com
GNU General Public License v3.0
240 stars 79 forks source link

Update pre-commit libraries #1118

Closed michplunkett closed 3 months ago

michplunkett commented 3 months ago

Description of Changes

Updating and removing unnecessary pre-commit packages.

Tests and Linting

b-meson commented 3 months ago

The PR looks okay but why are we making changes to the forms.py in this branch?

michplunkett commented 3 months ago

It's for this rule, @b-meson.

It looks like something like this could also work instead if you'd prefer:

isinstance(secondUpload, Image)
type(secondUpload) is Image