1### To check common code misspellings, syntax and standard checks.
2
3**Requirement Python 3.x and above**
4
5It is recommended to run these tools against the code before pushing to gerrit.
6It helps catches those silly mistake earlier before the review.
7
8### 1. codespell
9
10Project [codespell](https://github.com/codespell-project/codespell) designed primarily for checking misspelled words in source code
11
12```
13    $ pip install codespell
14```
15
16Example:
17```
18    $ codespell templates/test_openbmc_setup.robot
19    templates/test_openbmc_setup.robot:13: setings ==> settings
20```
21
22### 2. robotframework-lint
23
24Project [robotframework-lint](https://pypi.org/project/robotframework-lint/) for static analysis for robot framework plain text files.
25
26```
27    $ pip install –upgrade robotframework-lint
28 ```
29
30Example:
31```
32    $ rflint redfish/service_root/test_service_root_security.robot
33    + redfish/service_root/test_service_root_security.robot
34    W: 19, 100: Line is too long (exceeds 100 characters) (LineTooLong)
35```
36
37You can refer a script with example as well [custom rules](https://github.com/openbmc/openbmc-test-automation/blob/master/robot_custom_rules.py)
38