Joey Armstrong | 8218059 | 2024-02-10 15:34:21 -0500 | [diff] [blame] | 1 | Development & Source Code |
| 2 | ========================= |
| 3 | |
| 4 | .. toctree:: |
| 5 | :maxdepth: 1 |
| 6 | |
| 7 | index.rst |
| 8 | lint-helm.rst |
| 9 | |
| 10 | |
| 11 | ====================================== |
| 12 | Makefile Lint Targets: Syntax Checking |
| 13 | ====================================== |
| 14 | |
| 15 | Targets |
| 16 | ======= |
| 17 | |
| 18 | .. code:: bash |
| 19 | |
| 20 | git clone ssh://gerrit.opencord.org:29418/voltha-helm-charts.git |
| 21 | cd voltha-helm-charts |
| 22 | make help | grep lint |
| 23 | lint-chart chart_version_check.sh |
| 24 | lint-doc8 Syntax check *.rst documentation files. |
| 25 | lint-helm Syntax check helm configs |
| 26 | lint-json Syntax check json sources |
| 27 | lint-license Verify sources contain a license block. |
| 28 | lint-robot Syntax check robot sources using rflint |
| 29 | lint-shell Syntax check bash,bourne,etc sources |
| 30 | lint-yaml Syntax check yaml source using yamllint |
| 31 | UNSTABLE= Build targets prone to failure (lint-helm) |
| 32 | |
| 33 | [PYTHON] |
| 34 | lint-python Syntax check using available python tools |
| 35 | lint-flake8 Syntax check using tool flake8 |
| 36 | lint-pylint Syntax check using tool pylint |
| 37 | |
| 38 | | |
| 39 | |
| 40 | .. seealso:: |
| 41 | |
| 42 | - :ref:`Makefile Target lint-chart` |
| 43 | - :ref:`Makefile Target lint-helm` |
| 44 | |