blob: 4113b3dcb89b786e25dc1ded973f4a3ea712586b [file] [log] [blame]
Joey Armstrong82180592024-02-10 15:34:21 -05001Development & Source Code
2=========================
3
4.. toctree::
5 :maxdepth: 1
6
Eric Ball4cc56b02025-03-25 12:36:33 -07007 lint-chart
8 lint-helm
9 lint-robot
10 fix-errors/index
Joey Armstrong34690ba2024-04-15 12:45:39 -040011 pre-commit
Joey Armstrong82180592024-02-10 15:34:21 -050012
13
14======================================
15Makefile Lint Targets: Syntax Checking
16======================================
17
18Targets
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 Ball4cc56b02025-03-25 12:36:33 -070045 - :ref:`Makefile Target lint-chart`
46 - :ref:`Makefile Target lint-helm`
47 - :ref:`Makefile Target lint-robot`
48 - :ref:`Makefile Target lint-pre-commit`