add example for missing-format-argument-key message documentation#6115
add example for missing-format-argument-key message documentation#6115Pierre-Sassoulas merged 2 commits intopylint-dev:mainfrom gunungpw:missing-format-argument-key
missing-format-argument-key message documentation#6115Conversation
Pierre-Sassoulas
left a comment
There was a problem hiding this comment.
Thanks ! All your example are so... american 😄
|
🤣 I am afraid if the example is not a popular/normal phrase or word, a beginner like me who reads the code will confuse about what actually the code does. it's often the case if the code uses |
|
Not saying it's a bad thing at all. But you can also integrate things from your own culture if you want.
Yes I think so too, example that can be understood by school children with no prior knowledge is what we should be aiming at. Mainly because actual school children could read the examples, but also because everyone benefit from more engaging examples. |
| @@ -0,0 +1,2 @@ | |||
| `PEP 3101 <https://peps.python.org/pep-3101/>`_ | |||
There was a problem hiding this comment.
@Pierre-Sassoulas @gunungpw I didn't check this myself, but the related.rst documents should preferably be a list using - .... That gets formatted a little nicer.
There was a problem hiding this comment.
There's an issue with lists in something we merged recently see additional detail : https://pylint.pycqa.org/en/latest/messages/warning/arguments-differ.html. I think because it's rst formatting we need * instead of -.
and preferred name in
script/.contributors_aliases.jsonType of Changes
Description
missing-format-argument-keyrelated.rstRef #5953