Commit d2c6f5e
Switch code formatter to ruff (#2582)
Summary:
Pull Request resolved: #2582
Use the ruff code formatter. This diff
- Changes the Meta-internal config to use ruff.
- Updates `pyproject.toml` to use ruff as the code formatter.
- Applies the new formatting across the codebase.
This does NOT change the code sorting engine (that is still usort). We can update that in a next step.
Reviewed By: saitcakmak
Differential Revision: D64517061
fbshipit-source-id: bf9a4ed258b9489fc757c810fe8bbff0a5d018c41 parent b672626 commit d2c6f5e
File tree
67 files changed
+40
-119
lines changed- botorch
- acquisition
- multi_objective
- exceptions
- generation
- models
- kernels
- transforms
- optim
- utils
- posteriors
- sampling/pathwise
- test_functions
- test_utils
- utils
- multi_objective
- box_decompositions
- test
- acquisition
- multi_objective
- models
- transforms
- utils
- optim
- utils
- sampling
- test_functions
- utils
- multi_objective/box_decompositions
- probability
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
67 files changed
+40
-119
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1258 | 1258 | | |
1259 | 1259 | | |
1260 | 1260 | | |
1261 | | - | |
1262 | 1261 | | |
1263 | 1262 | | |
1264 | 1263 | | |
| |||
1868 | 1867 | | |
1869 | 1868 | | |
1870 | 1869 | | |
1871 | | - | |
1872 | 1870 | | |
1873 | 1871 | | |
1874 | 1872 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
321 | 320 | | |
322 | 321 | | |
323 | 322 | | |
324 | | - | |
325 | 323 | | |
326 | 324 | | |
327 | 325 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments