pyapp-kit / superqt

Missing widgets and components for Qt-python
https://pyapp-kit.github.io/superqt/
BSD 3-Clause "New" or "Revised" License
210 stars 37 forks source link

style: use ruff format instead of black, update pre-commit, restrict pyside6 tests #235

Closed tlambert03 closed 8 months ago

tlambert03 commented 8 months ago

closes #230. and gets tests working again

disallows pyside6.6.2 cause it breaks throttlers: https://bugreports.qt.io/browse/PYSIDE-2627

additionally, I'm rearranging the slider tests to go last because of a segfault that has started appearing on pyside6.5+. I believe it's related to this change (or something related to it): https://github.com/qtproject/pyside-pyside-setup/commit/db40e3e07932576bc54cd922eecd423c0f675613 (I find that signal instances are getting deleted erroneously, but I haven't narrowed it down yet. works fine on pyqt6)

napari tests are failing due to https://github.com/napari/napari/issues/6718

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.30%. Comparing base (60188de) to head (8bc4270). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #235 +/- ## ========================================== - Coverage 87.46% 87.30% -0.16% ========================================== Files 46 46 Lines 3334 3333 -1 ========================================== - Hits 2916 2910 -6 - Misses 418 423 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.