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 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.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for noglobal_magic-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06987f47197665871a7eb01bd261918d4984d8d64d204af1550e35d63d939db4 |
|
MD5 | d9eb0ff5fe7ff52e790d3e9988f8cbb0 |
|
BLAKE2b-256 | 4238876527b7adeced6d0ff253701f8bf0319c5db5511674bb215c5fd45b6d58 |