pycodestyle_magic
pycodestyle_magic copied to clipboard
magic functions for flake8 and pycodestyle module in Jupyter Lab and Notebook
Hi everyone, I encountered this issue and didn't know why it was an error Importing Pandas, Create DF ``` import pandas as pd df = pd.DataFrame({'col1': [1, 2], 'col2': [3,...
I am using pycodestyle_magic as a linter in Jupyter. I am following the instructions at https://github.com/mattijn/pycodestyle_magic But I get error with 1-cell checking be it '%%pycodestyle' or '%%flake8'.  
By using a magic string that shouldn't appear in code, we make "parsing" easier. Really this should use a real parser call into the library; but, this is an easy...
I have a bug when trying to use flake8. Here is my code: ``` %pip install flake8 pycodestyle_magic %load_ext pycodestyle_magic %flake8_on a=1 ``` When doing that, I have this error:...
I'm using Pycodestyle, but can't ignore errors. My code is the following: ``` %pip install flake8 pycodestyle_magic %load_ext pycodestyle_magic %pycodestyle_on --ignore E225 a=1 ``` I'm expecting no warning, no error....
Hi, I use the current version `pycodestyle-magic-0.5`. At the beginning of the notebook I do ``` %load_ext pycodestyle_magic %pycodestyle_on #%flake8_on # does not work ``` Then the following throws a...
Hi, I use `pycodestyle_magic`. This magic code is very nice. When I check pythgon dict code style by `%%pycodestyle`, an error occurs. for example, when I try ``` %%pycodestyle {"a":0,"b":1}...
When you load the extension `rpy2.ipython` (for the cell magic `%%R`), the magic `%%pycodestyle` starts behaving weirdly. It stops showing the cell output and from the second run starts showing...
Now https://pypi.org/project/pycodestyle_magic/ has no readme and no relevant classifiers (like supported python versions). It would be nice to fix that.
Using pycodestyle in "cell-at-a-time" mode, with %%pycodestyle as the first line in a cell seems to be very sensitive the spacing around colons. In particular, a space before a colon...