Browse Source

docs: add code consistency commands and mention

pull/1939/head
abdelhak aissat 2 years ago
parent
commit
c87f57a3c1
No known key found for this signature in database GPG Key ID: 199CE7289ADFCD97
1 changed files with 9 additions and 0 deletions
  1. 9
      docs/install_and_upgrade_doccano.md

9
docs/install_and_upgrade_doccano.md

@ -175,6 +175,15 @@ Then run the `dev` command to serve with hot reload at <localhost:3000>:
yarn dev
```
After you change the code, don't forget to run
the following commands to ensure code consistency:
```bash
yarn lintfix
yarn precommit
yarn fix:prettier
```
### How to create a Python package
During development, you may want to create a Python package and verify it works correctly. In such a case, you can create a package by running the following command in the root directory of your project:

Loading…
Cancel
Save