Plugin for PyLint that checks if we import only modules or packages. Direct imports of classes, functions and constants are forbidden
Project description
# How it works? It marks importing anything but modules/packages as invalid with a message only-importing-modules-is-allowed. This adheres to Google’s Python style guide.
# Why? To not force people to manual check if something we imported is a module or not.
# How to use it? After installing a package just pylint, appending pylint_google_style_guide_imports_enforcing to your –load-plugins option, like this: pylint my_cool_project –load-plugins=pylint_google_style_guide_imports_enforcing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for pylint_google_style_guide_imports_enforcing-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 986c3753008532bea2570833d56c5b10d3dc9fc8407c8102df2685f0c413bc50 |
|
MD5 | b5ac5c694807cfbbd807ab9f53824c10 |
|
BLAKE2b-256 | cda317db71766cbd86f6d74ce694629624fd8ee476bcc52fa6a49f0aca401997 |