[doc] Add an example for 'non-ascii-file-name'#8340
[doc] Add an example for 'non-ascii-file-name'#8340Pierre-Sassoulas merged 3 commits intopylint-dev:mainfrom
Conversation
And move links to related.rst
ad657d2 to
7d3c34c
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #8340 +/- ##
=======================================
Coverage 95.46% 95.46%
=======================================
Files 177 177
Lines 18704 18704
=======================================
Hits 17856 17856
Misses 848 848
|
This comment has been minimized.
This comment has been minimized.
|
This was a tricky issue to work on. Good job on the pull request and I like that you used the file name "not_better", very funny. |
| **Default:** ``True`` | ||
|
|
||
|
|
||
| --source-roots |
There was a problem hiding this comment.
Is this meant to be part of this MR?
There was a problem hiding this comment.
We forgot to generate the doc previousely because of #6736
|
I'm not sure the rationale behind the (empty) |
mbyrnepr2
left a comment
There was a problem hiding this comment.
Just a few small comments :)
Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
The problem is in the name of the file so we don't need any content imo. Maybe something like |
I meant the file paths themselves. What does good/bad.py mean? 😄 |
Ha, the doc framework render it as "correct code" vs "bad code" automatically see https://pylint--8340.org.readthedocs.build/en/8340/user_guide/messages/warning/non-ascii-file-name.html. There's two files because we assumed that a directory could be used only if there was multiple file to demonstrate and if there's only one file it need to be named bad.py. |
|
🤖 According to the primer, this change has no effect on the checked open source code. 🤖🎉 This comment was generated for commit 30258f2 |
Awesome 😎 |
Type of Changes
Description
Move links to related.rst, and upgrade the message shown for python 3.5+
Replace #8324, refs #5953