Commit 6047541
authored
Add scalafmt (#179)
Nothing changes besides codes been formatted.
I copied `.scalafmt` from mill and did very little tunings for
consistency and readability.
My local test results
```sh
$ ./mill -i __.publishArtifacts + __.test
[418/420] requests[2.13.15].test.test
[418]
[420/420] requests[3.3.4].test.test
[420]
[417/420] requests[2.12.20].test.test
[417]
[420/420] ==================================================================== __.publishArtifacts + __.test ======================================================================= 1s
```
My local binary compatibility check results
```
$ ./mill -i __.mimaReportBinaryIssues
[build.mill-64/68] compile
[build.mill-64] [info] compiling 1 Scala source to /home/lqhuang/Git/requests-scala/out/mill-build/compile.dest/classes ...
[build.mill-64] [info] done compiling
[211/212] requests.jvm[2.12.20].mimaReportBinaryIssues
[210/212] requests.jvm[2.13.15].mimaReportBinaryIssues
[212/212] requests.jvm[3.3.4].mimaReportBinaryIssues
[211] Scanning binary compatibility in /home/lqhuang/Git/requests-scala/out/requests/jvm/2.12.20/compile.dest/classes ...
[210] Scanning binary compatibility in /home/lqhuang/Git/requests-scala/out/requests/jvm/2.13.15/compile.dest/classes ...
[212] Scanning binary compatibility in /home/lqhuang/Git/requests-scala/out/requests/jvm/3.3.4/compile.dest/classes ...
[210] Binary compatibility check passed
[211] Binary compatibility check passed
[212] Binary compatibility check passed
[212/212] ============================== __.mimaReportBinaryIssues ============================== 8s
```1 parent 6f566e6 commit 6047541
File tree
17 files changed
+595
-482
lines changed- requests
- src/requests
- test
- resources
- src-2/requests
- src/requests
17 files changed
+595
-482
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | | - | |
7 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
8 | 16 | | |
9 | 17 | | |
10 | | - | |
| 18 | + | |
11 | 19 | | |
12 | 20 | | |
13 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
14 | 25 | | |
15 | 26 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments