cornellius-gp / linear_operator

A LinearOperator implementation to wrap the numerical nuts and bolts of GPyTorch
MIT License
95 stars 28 forks source link

Format using ufmt, upgrade pre-commit config #56

Closed Balandat closed 1 year ago

Balandat commented 1 year ago

This PR introduces the us of ufmt (instead of black + isort) for auto-formatting and import sorting to avoid collisions between the two. It also upgrades some of the versions (flake8 -> 5.0.4, flake8-print -> 5.0.0, pre-commit-hooks -> 4.4.0). As a result, quire a few files were reformatted.

gpleiss commented 1 year ago

I'm very much in favor of this. I'm going to hopefully get #42 in early next week and then we can merge this.

Balandat commented 1 year ago

I'm very much in favor of this. I'm going to hopefully get https://github.com/cornellius-gp/linear_operator/pull/42 in early next week and then we can merge this.

The reason for this is avoiding a not-so-nice rebase I take it?