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