Commit 5ac449d
authored
Fix some local version issues using black and also "make format-pr" (#3783)
* build: make format-pr more robust
- Support both 'main' and 'master' as base branch
- Only pass existing files to the formatter
- Eliminates noisy "ERROR: X jobs failed" when files were deleted
- handles filenames with spaces
* ci: run formatting check on ubuntu-24.04 (Python 3.12 instead of3.10)
* update coding-conventions (prints black version)1 parent 0c9dab0 commit 5ac449d
3 files changed
Lines changed: 32 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
952 | | - | |
| 952 | + | |
| 953 | + | |
953 | 954 | | |
954 | 955 | | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
961 | 983 | | |
962 | 984 | | |
963 | 985 | | |
964 | 986 | | |
965 | 987 | | |
966 | | - | |
| 988 | + | |
967 | 989 | | |
968 | 990 | | |
969 | 991 | | |
| |||
Submodule coding-conventions updated 1 file
0 commit comments