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

gh-120417: Add #noqa to used imports in the stdlib #120421

Merged
merged 9 commits into from
Jun 13, 2024

Commits on Jun 12, 2024

  1. pythongh-120417: Add #noqa to used imports in the stdlib

    Tools such as ruff can ignore "imported but unused" warnings if a
    line ends with "# noqa". It avoids the temptation to remove an import
    which is used effectively.
    vstinner committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    8347c30 View commit details
    Browse the repository at this point in the history
  2. Add more # noqa for more fun

    vstinner committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    19ceb4d View commit details
    Browse the repository at this point in the history
  3. One more #noqa batch

    vstinner committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    9b97f47 View commit details
    Browse the repository at this point in the history
  4. Fix test_symtable

    vstinner committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    2189665 View commit details
    Browse the repository at this point in the history
  5. Revert

    vstinner committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    e31a9e2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7d93caa View commit details
    Browse the repository at this point in the history
  7. Add comments

    vstinner committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    13efcc9 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Update Lib/pydoc.py

    serhiy-storchaka authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    648969c View commit details
    Browse the repository at this point in the history
  2. Use "# noqa: F401"

    vstinner committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    0506006 View commit details
    Browse the repository at this point in the history