pytorch / botorch

Bayesian optimization in PyTorch
https://botorch.org/
MIT License
3.11k stars 406 forks source link

Switch code formatter to ruff #2582

Closed Balandat closed 1 month ago

Balandat commented 1 month ago

Summary: Use the ruff code formatter. This diff

This does NOT change the code sorting engine (that is still usort). We can update that in a next step.

Differential Revision: D64517061

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D64517061

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 99.98%. Comparing base (7daad68) to head (a722750). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2582 +/- ## ======================================= Coverage 99.98% 99.98% ======================================= Files 196 196 Lines 17333 17333 ======================================= Hits 17331 17331 Misses 2 2 ```

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

facebook-github-bot commented 1 month ago

This pull request has been merged in pytorch/botorch@d2c6f5ea110372a1bf586e4ef66b2c7b7b1c33b6.