[idea] Start problematic mulitline msgstr on newline #16

Open
opened 2025-05-29 14:44:45 +02:00 by StanFromIreland · 2 comments
Contributor

I find the current presentation a bit confusing,

<rst-doc>:10: (WARNING/2) Block quote ends without a blank line; unexpected unindent. while parsing: import unittest

class TestFunkcjiStatystycznych(unittest.TestCase):

def test_srednia(self):

it would be clearer if the msgstr started on a new line and not after the error message.

I find the current presentation a bit confusing, ``` <rst-doc>:10: (WARNING/2) Block quote ends without a blank line; unexpected unindent. while parsing: import unittest class TestFunkcjiStatystycznych(unittest.TestCase): def test_srednia(self): ``` it would be clearer if the msgstr started on a new line and not after the error message.
StanFromIreland changed title from [idea] Start problematic msgstr on newline to [idea] Start problematic mulitline msgstr on newline 2025-05-29 17:42:06 +02:00
Owner

I added a newline, tell me how it goes :)

I have not released, please try using pip install git+https://git.afpy.org/AFPy/pospell.

I added a newline, tell me how it goes :) I have not released, please try using `pip install git+https://git.afpy.org/AFPy/pospell`.
Author
Contributor

Before:

<rst-doc>:4: (WARNING/2) Block quote ends without a blank line; unexpected unindent. while parsing: # to jest pierwszy komentarz
spam = 1  # a to jest drugi komentarz
          # … i teraz trzeci!
text = "# To nie jest komentarz, bo jest w cudzysłowie."

After, with much more organized logs with indents:

<rst-doc>:4: (WARNING/2) Block quote ends without a blank line; unexpected unindent. while parsing: 
    # to jest pierwszy komentarz
    spam = 1  # a to jest drugi komentarz
              # … i teraz trzeci!
    text = "# To nie jest komentarz, bo jest w cudzysłowie."

That is a lot better now, thanks! I can send tests and a few other prs I had in mind tomorrow.

Before: ``` <rst-doc>:4: (WARNING/2) Block quote ends without a blank line; unexpected unindent. while parsing: # to jest pierwszy komentarz spam = 1 # a to jest drugi komentarz # … i teraz trzeci! text = "# To nie jest komentarz, bo jest w cudzysłowie." ``` After, with much more organized logs with indents: ``` <rst-doc>:4: (WARNING/2) Block quote ends without a blank line; unexpected unindent. while parsing: # to jest pierwszy komentarz spam = 1 # a to jest drugi komentarz # … i teraz trzeci! text = "# To nie jest komentarz, bo jest w cudzysłowie." ``` That is a lot better now, thanks! I can send tests and a few other prs I had in mind tomorrow.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AFPy/pospell#16
No description provided.