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
Pylint support. Replace pass
with type
for handling magics
#302
Commits on Oct 11, 2020
-
Pending tests to be added Changes to be committed: new file: nbqa/handle_magics.py modified: nbqa/save_source.py modified: tests/test_black.py modified: tests/test_flake8_works.py modified: tests/test_other_magics.py
Configuration menu - View commit details
-
Copy full SHA for f26e6fe - Browse repository at this point
Copy the full SHA f26e6feView commit details -
Added docstrings for the newly added methods and module.
Changes to be committed: modified: nbqa/handle_magics.py modified: nbqa/save_source.py
Configuration menu - View commit details
-
Copy full SHA for 92278c4 - Browse repository at this point
Copy the full SHA 92278c4View commit details -
Refactor handle_magics module.
Changes to be committed: modified: nbqa/handle_magics.py modified: nbqa/notebook_info.py modified: nbqa/replace_source.py modified: nbqa/save_source.py
Configuration menu - View commit details
-
Copy full SHA for b0917fb - Browse repository at this point
Copy the full SHA b0917fbView commit details -
Added docstrings for all functions, classes and methods.
Changes to be committed: modified: nbqa/handle_magics.py modified: nbqa/notebook_info.py modified: nbqa/replace_source.py modified: nbqa/save_source.py
Configuration menu - View commit details
-
Copy full SHA for f1499f2 - Browse repository at this point
Copy the full SHA f1499f2View commit details -
Make MagicHandler as Abstract base class.
On branch line_magic_with_type Your branch is ahead of 'upstream/master' by 4 commits. (use "git push" to publish your local commits)
Configuration menu - View commit details
-
Copy full SHA for e7534df - Browse repository at this point
Copy the full SHA e7534dfView commit details -
Added tests for pylint. Also ran nbqa against all pymc3 notebooks and…
… verified output against one complete notebook manually. No crashes. Changes to be committed: modified: nbqa/__main__.py new file: tests/test_pylint_works.py modified: tests/test_return_code.py
Configuration menu - View commit details
-
Copy full SHA for e8e9a2e - Browse repository at this point
Copy the full SHA e8e9a2eView commit details -
Escape regex containing path. On windows tox failed due to regex pars…
…e issues with path patterns unescaped. Changes to be committed: modified: nbqa/__main__.py
Configuration menu - View commit details
-
Copy full SHA for 48d6ea1 - Browse repository at this point
Copy the full SHA 48d6ea1View commit details -
Made regex containing path as raw string.
Changes to be committed: modified: nbqa/__main__.py
Configuration menu - View commit details
-
Copy full SHA for 3779402 - Browse repository at this point
Copy the full SHA 3779402View commit details -
Escape the path characters which form the regex pattern
Changes to be committed: modified: nbqa/__main__.py
Configuration menu - View commit details
-
Copy full SHA for 90bc3db - Browse repository at this point
Copy the full SHA 90bc3dbView commit details -
Use replace instead of regex, since regex has issues with handling wi…
…ndows path. Changes to be committed: modified: nbqa/__main__.py
Configuration menu - View commit details
-
Copy full SHA for 6e6a57d - Browse repository at this point
Copy the full SHA 6e6a57dView commit details -
Fix failing pylint test that used regex involving paths.
Changes to be committed: modified: tests/test_pylint_works.py
Configuration menu - View commit details
-
Copy full SHA for 96074c2 - Browse repository at this point
Copy the full SHA 96074c2View commit details -
Fix issues with formatters like black when line length is configured …
…to be less then the replacement python code used to substitute ipython magics. Changes to be committed: modified: nbqa/handle_magics.py
Configuration menu - View commit details
-
Copy full SHA for edeff4a - Browse repository at this point
Copy the full SHA edeff4aView commit details -
Update readme to add support for pylint
Changes to be committed: modified: README.md
Configuration menu - View commit details
-
Copy full SHA for 0a9d37a - Browse repository at this point
Copy the full SHA 0a9d37aView commit details