Skip to content

Commit 23b8645

Browse files
committed
Add git blame ignore file and enable formatting worlfkow
Enable formatting in workflow and set git blame ignore file
1 parent 19ab5e3 commit 23b8645

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Formatting code base
2+
19ab5e34677a7fea521b682ee35c974f7aaac0fb

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ jobs:
3636
license_header_check_enabled: false
3737
unacceptable_language_check_enabled: false
3838
api_breakage_check_enabled: false
39-
format_check_enabled: false
39+
format_check_enabled: true
4040
shell_check_enabled: false

CONTRIBUTING.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Fill the following fields:
1616

1717
* `Title`: A one line summary of the problem you're facing.
1818
* `Description`: The complete description of the problem. Be specific.
19-
* `Expected behavior`: How you expect SwiftPM to behave.
19+
* `Expected behavior`: How you expect SwiftPM to behave.
2020
* `Actual behavior` : What actually happens.
2121
* `Steps to reproduce`: Be specific, provide steps to reproduce the bug.
2222
* `Swift Package Manager version/commit hash` : With which version are you testing.
@@ -43,6 +43,12 @@ If you are preparing to make a contribution you should fork the repository first
4343

4444
SwiftPM is typically built with a pre-existing version of SwiftPM present on the system, but there are multiple ways to setup your development environment:
4545

46+
Once the repository is clone, configure your local repository so blame ignores some commits:
47+
48+
```
49+
git config blame.ignoreRevsFile .git-blame-ignore-revs
50+
```
51+
4652
### Using Xcode (Easiest)
4753

4854
1. Install Xcode from [https://developer.apple.com/xcode](https://developer.apple.com/xcode) (including betas!).
@@ -510,5 +516,5 @@ Make sure to update your TSC (Tools Support Core):
510516
```bash
511517
$> swift package update
512518
```
513-
Alternatively, if you are using Xcode, you can update to the latest version of all packages:
519+
Alternatively, if you are using Xcode, you can update to the latest version of all packages:
514520
**Xcode App** > *File* > *Swift Packages* > *Update to Latest Package Versions*

0 commit comments

Comments
 (0)