Changeset 6


Ignore:
Timestamp:
09/30/15 15:00:09 (9 years ago)
Author:
pinsard
Message:

describe requirements on ciclad for typo

Location:
trunk/docs/manual/source/developers/guides
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/manual/source/developers/guides/index.rst

    r2 r6  
    22|igcmg_doc| developers guides 
    33============================= 
     4 
     5|igcmg_doc| developers are |igcmg_doc| authors. 
    46 
    57.. toctree:: 
  • trunk/docs/manual/source/developers/guides/typo.rst

    r5 r6  
     1.. _typo: 
     2 
    13==== 
    24Typo 
     
    3234+++++++++++++++++++++++++++ 
    3335 
     36.. note:: 
     37 
     38   this work was done in PAGO project. not yet useful here 
     39 
    3440:py:mod:`prog_var_francoise.py` is a way to build the dictionary "python 
    3541variables". 
    36  
    37 Assuming IGCMG_DOC is in :file:`$HOME/igcmg_doc_ws/` and 
    38 :file:`$HOME/igcmg_doc_ws/docs/manual/` is 
    39 in your :envvar:`PATH` or :envvar:`PYTHONPATH` 
    40  
    41 Assuming :envvar:`PROJECT` is set to :file:`$HOME/igcmg_doc_ws/`. 
    42  
    43 .. code-block:: bash 
    44  
    45    PROJECT=$HOME/igcmg_doc_ws/ 
    46    export PROJECT 
    47    PYTHONPATH=$PROJECT/docs/manual/:$PYTHONPATH 
    48    export PYTHONPATH 
    49    PATH=$PROJECT/docs/manual/:$PATH 
    50    export PATH 
    51  
    52 .. todo:: 
    53  
    54    assuming and definition of :envvar:`PROJECT` is not only needed here 
    5542 
    5643.. code-block:: bash 
     
    8976   sort -u ${nontypo} > ${nontypo_uniq} 
    9077 
     78.. note:: 
     79 
     80   no ${PROJECT_LOG}/pyigcmg_doc_var.txt here 
     81 
    9182Check typo in Python files 
    9283========================== 
     
    9485.. code-block:: bash 
    9586 
    96    PROJECT_LOG=${HOME}/log/ # as an example 
    97    export PROJECT_LOG 
    9887   listf=$(find ${PROJECT} -name "*.py") 
    9988   pylint --disable=all \ 
     
    146135   sed "1i ${linecount}" ${nontypo_uniq} > ${nontypo_uniq_dic} 
    147136 
    148 .. warning:: sed vs gsed 
    149  
    150    On mac, :command:`sed` might have to be replaced by :command:`gsed` 
    151  
    152137Associated :file:`nontypo_uniq.aff` file already exist in 
    153138${PROJECT}/docs/manual/for_typo: 
Note: See TracChangeset for help on using the changeset viewer.