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

No new-line between third-party and application? #204

Open
fossum opened this issue Jun 20, 2024 · 0 comments
Open

No new-line between third-party and application? #204

fossum opened this issue Jun 20, 2024 · 0 comments

Comments

@fossum
Copy link

fossum commented Jun 20, 2024

Error Message:

Additional newline in a group of imports. 'from sel.aft_shared.reference_model.reference_model import REF_MOD_EXE, ReferenceModel' is identified as Application and 'from sel.aft.automation import Driver' is identified as Third Party.Flake8(I202)

setup.cfg snippet:

[flake8]
application_import_names = sel.aft_shared

Code Snippet:

from sel.aft.automation import Driver

from sel.aft_shared.reference_model.reference_model import REF_MOD_EXE, ReferenceModel

import-order==0.18.1-2

Given the above error, configuration and code; why is it giving me this error? If one is assumed third-party and the other is application, shouldn't they be in separate groups?

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