Static code analyse
Now, we will make sure if our python code is in a high quality or we should master it.
Lint python code¶
Usage¶
codoo lint python [OPTIONS]
Available options¶
Option | Type | Default | Description |
---|---|---|---|
-a, --addons | TEXT | All | The name of the addon, (e.g: codoo_demo) |
-p, --port | INTEGER | 8000 | The port of the project |
Extra options¶
Option | Type | Default | Description |
---|---|---|---|
Examples¶
codoo lint python \
-a codoo_demo \
-p "8000"
We are sure now that our python code is with high quality, we can pass to the last step which is the testing in the next section.