qubvel-org / segmentation_models.pytorch

Semantic segmentation models with 500+ pretrained convolutional and transformer-based backbones.
https://smp.readthedocs.io/
MIT License
9.74k stars 1.68k forks source link

Update linters in Ruff #894

Closed Smartappli closed 2 months ago

adamjstewart commented 2 months ago

This is partially superseded by #923 (which formatted our jupyter notebooks too) and #918 (which removes the pin on ruff version). In the future, ruff will be controlled by dependabot. The rest of this PR is mostly additional settings that are already the default. Not sure if we should rebase after #918 is merged or just close.