Update README.md for pre-commit information

This commit is contained in:
Atsushi Togo 2021-10-25 17:45:31 +09:00
parent ac7abb7e4b
commit 5d0523ef98
1 changed files with 6 additions and 0 deletions

View File

@ -42,6 +42,12 @@ repository.
} }
``` ```
- Use of pre-commit (https://pre-commit.com/) is encouraged.
- Installed by `pip install pre-commit`, `conda install pre_commit` or see
https://pre-commit.com/#install.
- pre-commit hook is installed by `pre-commit install`.
- pre-commit hook is run by `pre-commit run --all-files`.
## Documentation ## Documentation
Phonopy user documentation is written using python sphinx. The source files are Phonopy user documentation is written using python sphinx. The source files are