Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion lib/common/.pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ disable=raw-checker-failed,
too-many-public-methods,
too-many-return-statements,
too-many-statements,
unnecessary-pass
unnecessary-pass,
trailing-whitespace,
missing-final-newline


# Include some helpful details on errors messages for naming rules:
include-naming-hint = yes
Expand Down
13 changes: 0 additions & 13 deletions test/acronym/analysis.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
{
"summary": "Good work! \ud83c\udf1f Here are some general recommendations for improving your Python code.",
"comments": [
{
"comment": "python.pylint.convention",
"params": {
"lineno": "6",
"code": "C0304 missing-final-newline",
"message": "Final newline missing",
"bad_code": "Instead of: \n```python\nprint(\"Hello\") # CRLF (\\r\\n)\nprint(\"world\") # End-of-file (EOF)\n# [missing-final-newline]\n\nprint(\"Hello\") # LF (\\n)\nprint(\"world\") # End-of-file (EOF)\n# [missing-final-newline]\n\n```\n\n",
"good_code": "Try: \n```python\nprint(\"Hello\") # CRLF (\\r\\n)\nprint(\"world\") # CRLF (\\r\\n)\n# End-of-file (EOF)\n\nprint(\"Hello\") # LF (\\n)\nprint(\"world\") # LF (\\n)\n# End-of-file (EOF)\n```\n\n",
"related_info": "- [POSIX Standard](https://pubs.opengroup.org/onlinepubs/9699919799/)\n- [POSIX Standard Chapter 3.206\n Line](https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206)\n",
"details": "The POSIX standard defines a line as:\n\n: \\\"A sequence of zero or more non- \\<newline\\> characters plus a\n terminating \\<newline\\> character.\\\"\n"
},
"type": "informative"
},
{
"comment": "python.pylint.convention",
"params": {
Expand Down