forked from exercism/python-analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis.json
More file actions
18 lines (18 loc) · 855 Bytes
/
analysis.json
File metadata and controls
18 lines (18 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"summary": "Good work! \ud83c\udf1f Here are some general recommendations for improving your Python code.",
"comments": [
{
"comment": "python.pylint.convention",
"params": {
"lineno": "1",
"code": "C0114 missing-module-docstring",
"message": "Missing module docstring",
"bad_code": "Instead of: \n```python\nimport sys # [missing-module-docstring]\n\n\ndef print_python_version():\n print(sys.version)\n```\n\n",
"good_code": "Try: \n```python\n\"\"\"Module providing a function printing python version.\"\"\"\n\nimport sys\n\n\ndef print_python_version():\n print(sys.version)\n```\n\n",
"related_info": null,
"details": null
},
"type": "informative"
}
]
}