Skip to content

Conversation

@kaste
Copy link
Member

@kaste kaste commented Jun 8, 2018

Instead of using the file path as arg which pylint will in turn
convert to a package name, we do the conversion on our own.

This implementation takes the file path of the view relative to
the defined working dir (usually the project path) and then basically
swaps '/' with '.'.

Fixes #36

Feel free to bike-shed the name of the setting.

Instead of using the file path as arg which pylint will in turn
convert to a package name, we do the conversion on our own.

This implementation takes the file path of the view relative to
the defined working dir (usually the project path) and then basically
swaps '/' with '.'.
@braver
Copy link
Member

braver commented Jul 26, 2019

@kaste still wanna do anything with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Detect package when analysing import statements

3 participants