Skip to content
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

Decrease cost of ipynb code path when unneeded #3748

Merged
merged 6 commits into from Jun 27, 2023

Commits on Jun 24, 2023

  1. Decrease cost of ipynb code path when unneeded

    IPython is a very expensive import, like, at least 300ms. I'd also
    venture that it's much more common than tokenize-rt, which is like 30ms.
    I work in a repo where I use black, have IPython installed and there
    happen to be a couple notebooks (that we don't want formatted). I know I
    can force exclude ipynb, but this change doesn't really have a cost.
    hauntsaninja committed Jun 24, 2023
    Copy the full SHA
    98304e0 View commit details
    Browse the repository at this point in the history
  2. changelog

    hauntsaninja committed Jun 24, 2023
    Copy the full SHA
    2c270a4 View commit details
    Browse the repository at this point in the history
  3. isort

    hauntsaninja committed Jun 24, 2023
    Copy the full SHA
    9d86694 View commit details
    Browse the repository at this point in the history
  4. format

    hauntsaninja committed Jun 24, 2023
    Copy the full SHA
    0297c9c View commit details
    Browse the repository at this point in the history
  5. comment

    hauntsaninja committed Jun 24, 2023
    Copy the full SHA
    6a0b46d View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2023

  1. lint

    hauntsaninja committed Jun 25, 2023
    Copy the full SHA
    467a2c9 View commit details
    Browse the repository at this point in the history