Skip to content

Commit 332241b

Browse files
committed
ci: rename scripts/reformat as scripts/format
1 parent a3019c8 commit 332241b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Please put an `x` in the box that applies
1515

1616
## Checklist:
1717
- [ ] Add test cases to all the changes you introduce
18-
- [ ] Run `./script/reformat` and `./script/test` locally to ensure this change passes linter check and test
18+
- [ ] Run `./script/format` and `./script/test` locally to ensure this change passes linter check and test
1919
- [ ] Test the changes on the local machine manually
2020
- [ ] Update the documentation for the changes
2121

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ repos:
1818

1919
- repo: local
2020
hooks:
21-
- id: reformat
22-
name: reformat
21+
- id: format
22+
name: format
2323
language: system
2424
pass_filenames: false
25-
entry: ./scripts/reformat
25+
entry: ./scripts/format
2626
types: [python]
2727

2828
- id: linter and test

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ If you're a first-time contributor, you can check the issues with [good first is
1616
6. Add test cases for all your changes.
1717
(We use [CodeCov](https://codecov.io/) to ensure our test coverage does not drop.)
1818
7. Use [commitizen](https://github.com/commitizen-tools/commitizen) to do git commit.
19-
8. Run `./scripts/reformat` and `./scripts/test` to ensure you follow the coding style and the tests pass.
19+
8. Run `./scripts/format` and `./scripts/test` to ensure you follow the coding style and the tests pass.
2020
9. Update `READMD.md` and `CHANGELOG.md` for your changes.
2121
10. Send a [pull request](https://github.com/commitizen-tools/commitizen/pulls) 🙏
File renamed without changes.

0 commit comments

Comments
 (0)