Skip to content

Commit 636611c

Browse files
committed
update files.
1 parent a33fcdf commit 636611c

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

CONTRIBUTING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@ and additional conventions are described in the [Wiki](https://github.com/optuna
2929
If your environment is missing some dependencies such as black, flake8, or isort,
3030
you will be asked to install them.
3131

32+
You can use `pre-commit` to automatically check the format, coding style, and type hints before committing.
33+
The following commands automatically fix format errors by auto-formatters.
34+
35+
```bash
36+
# Install `pre-commit`.
37+
$ pip install pre-commit
38+
39+
$ pre-commit install
40+
$ pre-commit run --all-files
41+
```
42+
3243
## Continuous Integration and Local Verification
3344

3445
This repository uses GitHub Actions.

0 commit comments

Comments
 (0)