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