Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug : isort add empty lines before pylint comments #2260

Open
LLyaudet opened this issue Apr 23, 2024 · 0 comments
Open

Bug : isort add empty lines before pylint comments #2260

LLyaudet opened this issue Apr 23, 2024 · 0 comments

Comments

@LLyaudet
Copy link

Hello,

Below you will find an extract of my terminal where I used @redacted@
each time I replaced a consecutive substring at the same position.

$ isort --version

                 _                 _
                (_) ___  ___  _ __| |_
                | |/ _/ / _ \/ '__  _/
                | |\__ \/\_\/| |  | |_
                |_|\___/\___/\_/   \_/

      isort your imports, so you don't have to.

                    VERSION 5.13.2

@redacted@$ cat test_isort.py 
# pylint: disable-next=import-error
from django.conf import settings
# pylint: disable-next=import-error
from django.core.cache import cache, caches
# pylint: disable-next=import-error
from django.test import TestCase
@redacted@$ isort test_isort.py 
Fixing /@redacted@/test_isort.py
@redacted@$ cat test_isort.py 
# pylint: disable-next=import-error
from django.conf import settings

# pylint: disable-next=import-error
from django.core.cache import cache, caches

# pylint: disable-next=import-error
from django.test import TestCase

I saw a similar issue, but not the same issue, here:
#1322
But it has already been solved

Best regards,
Laurent Lyaudet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant