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
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
This message exists because one of our checkers is very generic, but it's never going to
raise during normal use as it's a ``syntax-error`` that would prevent the python ast
(and thus pylint) from constructing a code representation of the file.

You could encounter it by feeding a properly constructed node directly to the checker.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# This is a placeholder for correct code for this message.
STRING = "Valid carriage return: \r"
3 changes: 2 additions & 1 deletion doc/data/messages/i/invalid-character-nul/details.rst
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
There's no need to use end-of-string characters. String objects maintain their
own length.
2 changes: 1 addition & 1 deletion doc/data/messages/i/invalid-character-nul/good.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# This is a placeholder for correct code for this message.
STRING = "Valid nul terminator: \x00"
1 change: 1 addition & 0 deletions doc/data/messages/i/invalid-character-nul/related.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- `Null terminator in python <https://stackoverflow.com/a/24410304/2519059>`_