mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-23 09:30:57 -05:00
chore: Update from _rust template
This commit is contained in:
commit
0870bb7207
2 changed files with 3 additions and 1 deletions
2
.github/workflows/pre-commit.yml
vendored
2
.github/workflows/pre-commit.yml
vendored
|
@ -24,4 +24,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
- uses: pre-commit/action@v3.0.1
|
- uses: pre-commit/action@v3.0.1
|
||||||
|
|
|
@ -78,7 +78,7 @@ We ask that commits are atomic, meaning they are complete and have a single resp
|
||||||
PRs should tell a cohesive story, with test and refactor commits that keep the
|
PRs should tell a cohesive story, with test and refactor commits that keep the
|
||||||
fix or feature commits simple and clear.
|
fix or feature commits simple and clear.
|
||||||
|
|
||||||
Specifically, we would encouage
|
Specifically, we would encourage
|
||||||
- File renames be isolated into their own commit
|
- File renames be isolated into their own commit
|
||||||
- Add tests in a commit before their feature or fix, showing the current behavior.
|
- Add tests in a commit before their feature or fix, showing the current behavior.
|
||||||
The diff for the feature/fix commit will then show how the behavior changed,
|
The diff for the feature/fix commit will then show how the behavior changed,
|
||||||
|
|
Loading…
Reference in a new issue