1. 25 4月, 2021 1 次提交
    • R
      Cleanup the unused codes for samplecode testing (#32525) · 2328921f
      Ren Wei (任卫) 提交于
      * update testcases
      
      * remove unused codes
      
      * update the docstring for samcd_processor
      
      * no need to import the six module
      
      * 我也不知道为何有一个前导空格,但现在有单元测试,取消这个空格没啥问题
      
      * add unittests for print_signatures; add the first case for 'required' mechanism when executing sample code testing
      
      * there is no paddle installed in PR-CI-APPROVAL
      
      test=document_fix
      2328921f
  2. 24 4月, 2021 1 次提交
    • R
      print the real name for Functions instead of the ArgSpec (#32379) · ef8671e5
      Ren Wei (任卫) 提交于
      * print the real name for Functions instead of the ArgSpec
      
      class function method
      
      * some API's name is not __module__ + __name__
      
      so, we disard them temporarily.
      
      * update the logging format for console
      
      * ommit the top level of paddle package.
      
      * these APIs have been removed.
      
      test=document_fix
      
      * Another Error occerd
      
      * print_signatures.py 's stdout is redirect to spec file, so should not print any other info.
      
      so sad.
      
      * print the error msg to stderr
      
      * disable the __init__ magic method
      
      * update unittest for sampcd_processor.py
      
      update unittest for sampcd_processor.py
      
      * PR-CI-APPROVAL 's python interpreter name is not 'python3'.
      
      it's a python3.9;
      it does not have paddle installed yet.
      
      此句在CI流水线竟然不可以用。报python3找不到
      此句在CI流水线竟然不可以用。因为环境没有安装paddle
      
      * testing only extract api from __all__
      
      paddle module(the top module) does not have __add__
      test=document_fix
      
      * should import paddle here
      
      * update the mechanism of extractiong and executing for the sample-codes test.
      
      更新抽取代码和执行代码的逻辑
      优化输出打印
      
      * good code style
      ef8671e5
  3. 19 4月, 2021 1 次提交
  4. 13 4月, 2021 1 次提交
  5. 24 11月, 2020 1 次提交
    • L
      Upgrade string literals to raw string (#28989) · 3815d7aa
      Leo Chen 提交于
      * upgrade comment string to raw string
      
      * fix string in
      
      * fix string with ' '
      
      * revert update on comments
      
      * upgrade only necessary
      
      * fix sample code checker
      
      * fix comments with '''
      3815d7aa
  6. 25 9月, 2020 1 次提交
  7. 25 8月, 2020 1 次提交
  8. 28 7月, 2020 1 次提交
  9. 29 6月, 2020 1 次提交
  10. 07 5月, 2020 1 次提交
  11. 09 4月, 2020 1 次提交
  12. 27 3月, 2020 1 次提交
  13. 24 3月, 2020 1 次提交
  14. 10 3月, 2020 1 次提交
  15. 06 3月, 2020 1 次提交
  16. 25 2月, 2020 1 次提交
  17. 11 2月, 2020 1 次提交
  18. 04 12月, 2019 1 次提交
  19. 04 11月, 2019 1 次提交
  20. 23 10月, 2019 1 次提交
  21. 19 9月, 2019 1 次提交
  22. 15 8月, 2019 1 次提交
  23. 10 7月, 2019 1 次提交
    • T
      Add code example in CI (#18228) · 1c10dac4
      tianshuo78520a 提交于
      * test api example
      
      * update python
      
      * add sampcd_processor.py
      
      * add if 0
      
      * sort
      
      * test paddle
      
      * test paddle
      
      * test paddle
      
      * add whitelist
      
      * change sampcd_processor.py
      
      * change sampcd_processor.py
      
      * change sampcd_processor.py
      
      * add exit
      
      * test=develop
      
      * test=develop
      1c10dac4