magic command for prohibit using global variables in Jupyter Notebook
Project description
noglobal-magic
For Jupyter Notebook user's, noglobal-magic find global variables in a local scope.
With:
- No need to wait executing a function
flake8
style ignoring-error annotation (# noqa
)no_global
magic command makes raise error, andwarn_global
tells a just warning
Installation
Make sure you've this noglobal-magic
(And the Python package pyflakes
).
pip install noglobal-magic
How to use
In a cell on Jupyter Notebook, load and activate this extension:
%load_ext noglobal_magic
%no_global
You've ready to enjoy coding.
Let's see in colab how it works.
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
noglobal-magic-0.1.3.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for noglobal_magic-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afb10a78058bcddcfbd48973f095474612fc38f5fa68647c0d7110b3f53eb6e2 |
|
MD5 | f24012f1f99deb8daf3811674a60cc58 |
|
BLAKE2b-256 | c4d29ce659fd2b5a2c3da37e2ed00dc2cd17bc35b774052da5ebb05fc3c9a463 |