Skip to content

Add setting use_package_names#52

Open
kaste wants to merge 1 commit into
masterfrom
packages
Open

Add setting use_package_names#52
kaste wants to merge 1 commit into
masterfrom
packages

Conversation

@kaste

@kaste kaste commented Jun 8, 2018

Copy link
Copy Markdown
Member

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

braver commented Jul 26, 2019

Copy link
Copy Markdown
Member

@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

2 participants