ReMe/docs/deprecated.txt

11 lines
No EOL
756 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from loguru import logger
用英文注释完善module/class/function docstring要一句话简洁不要变更代码
用英文注释完善module/class/function docstring要一句话简洁代码要简洁符合pep和pylint规范
C0114: Missing module docstring (missing-module-docstring)
C0115: Missing class docstring (missing-class-docstring)
C0116: Missing function or method docstring (missing-function-docstring)
done: { for f in ./*.py; do [[ "$f" != "./__init__.py" ]] && grep -v '^[[:space:]]*#' "$f"; done; } | pbcopy
然后是一个完整的tests但是不要用其他的包只是test开头的函数或者类要求from loguru import logger
写一个测试文件不要使用pytest普通的test要求英文注释