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

Add setting use_package_names #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add setting use_package_names #52

wants to merge 1 commit into from

Conversation

kaste
Copy link
Contributor

@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
2 participants