| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:ffa8511f-e67a-3d1f-b63c-bf557ac77e9e |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E418:1F927B:1D05ED2:2636DF6:6B022423 |
| html-safe-nonce | 3a6a252baff22864800681aa6110a40bf3eaf9533a1a584f43d2a4a834b15667 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDE4OjFGOTI3QjoxRDA1RUQyOjI2MzZERjY6NkIwMjI0MjMiLCJ2aXNpdG9yX2lkIjoiOTA5NzY4NjY4NDA5MDM3NzI1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3ac7ed4ab4f95e0dd3932b440b7ec583221b34c80d6f812a3f61da953eee2855 |
| hovercard-subject-tag | pull_request:3860098803 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/checks |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/151442/checks |
| twitter:image | https://opengraph.githubassets.com/5175de83d7f31713104493af751d796c812c465a988497717002f156c9ee3465/python/cpython/pull/151442 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5175de83d7f31713104493af751d796c812c465a988497717002f156c9ee3465/python/cpython/pull/151442 |
| og:image:alt | Automatically identify and remove unused imports within the Tools/ directory using ruff check --select F401 ./Tools. Manually reviewed by me.
Issue: Remove unused imports (June 2026) #151428 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | IvyXu420 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/151442/checks#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F151442%2Fchecks |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F151442%2Fchecks |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/151442/checks |
| Reload | https://github.com/python/cpython/pull/151442/checks |
| Reload | https://github.com/python/cpython/pull/151442/checks |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| https://github.com/python/cpython |
| sobolevn | https://github.com/sobolevn |
| python:main | https://github.com/python/cpython/tree/main |
| IvyXu420:fix-151428-tools | https://github.com/IvyXu420/cpython/tree/fix-151428-tools |
| Conversation | https://github.com/python/cpython/pull/151442 |
| Commits4 (4) | https://github.com/python/cpython/pull/151442/commits |
| Checks | https://github.com/python/cpython/pull/151442/checks |
| Files changed | https://github.com/python/cpython/pull/151442/files |
| gh-151428: Remove unused imports from Tools/ | https://github.com/python/cpython/pull/151442/checks#top |
| sobolevn | https://github.com/sobolevn |
| python:main | https://github.com/python/cpython/tree/main |
| IvyXu420:fix-151428-tools | https://github.com/IvyXu420/cpython/tree/fix-151428-tools |
| Please reload this page | https://github.com/python/cpython/pull/151442/checks |
| Sign in for the full log view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F151442%2Fchecks |
|
Lint
on: pull_request
| https://github.com/python/cpython/actions/runs/27470943144 |
|
lint
| https://github.com/python/cpython/actions/runs/27470943144/job/81201607064?pr=151442 |
|
Check labels
on: pull_request
| https://github.com/python/cpython/actions/runs/27470943160 |
|
DO-NOT-MERGE
| https://github.com/python/cpython/actions/runs/27470943160/job/81201607023?pr=151442 |
|
Unresolved review
| https://github.com/python/cpython/actions/runs/27470943160/job/81201607011?pr=151442 |
|
JIT
on: pull_request
| https://github.com/python/cpython/actions/runs/27470943163 |
|
Interpreter (Debug)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607132?pr=151442 |
|
i686-pc-windows-msvc/msvc (Debug)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607393?pr=151442 |
|
i686-pc-windows-msvc/msvc (Release)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607301?pr=151442 |
|
x86_64-pc-windows-msvc/msvc (Debug)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607197?pr=151442 |
|
x86_64-pc-windows-msvc/msvc (Release)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607221?pr=151442 |
|
aarch64-pc-windows-msvc/msvc (Debug)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607276?pr=151442 |
|
aarch64-pc-windows-msvc/msvc (Release)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607202?pr=151442 |
|
x86_64-apple-darwin/clang (Debug)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607188?pr=151442 |
|
x86_64-apple-darwin/clang (Release)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607243?pr=151442 |
|
aarch64-apple-darwin/clang (Debug)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607179?pr=151442 |
|
aarch64-apple-darwin/clang (Release)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607167?pr=151442 |
|
x86_64-unknown-linux-gnu/gcc (Debug)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607274?pr=151442 |
|
x86_64-unknown-linux-gnu/gcc (Release)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607235?pr=151442 |
|
aarch64-unknown-linux-gnu/gcc (Debug)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607635?pr=151442 |
|
aarch64-unknown-linux-gnu/gcc (Release)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607364?pr=151442 |
|
Free-Threaded (Debug)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607147?pr=151442 |
|
JIT without optimizations (Debug)
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607162?pr=151442 |
|
JIT with tail calling interpreter
| https://github.com/python/cpython/actions/runs/27470943163/job/81201607145?pr=151442 |
|
mypy
on: pull_request
| https://github.com/python/cpython/actions/runs/27470943166 |
|
Run mypy on Lib/_pyrepl
| https://github.com/python/cpython/actions/runs/27470943166/job/81201607066?pr=151442 |
|
Run mypy on Lib/test/libregrtest
| https://github.com/python/cpython/actions/runs/27470943166/job/81201607101?pr=151442 |
|
Run mypy on Lib/tomllib
| https://github.com/python/cpython/actions/runs/27470943166/job/81201607079?pr=151442 |
|
Run mypy on Tools/build
| https://github.com/python/cpython/actions/runs/27470943166/job/81201607045?pr=151442 |
|
Run mypy on Tools/cases_generator
| https://github.com/python/cpython/actions/runs/27470943166/job/81201607060?pr=151442 |
|
Run mypy on Tools/check-c-api-docs
| https://github.com/python/cpython/actions/runs/27470943166/job/81201607035?pr=151442 |
|
Run mypy on Tools/clinic
| https://github.com/python/cpython/actions/runs/27470943166/job/81201607071?pr=151442 |
|
Run mypy on Tools/jit
| https://github.com/python/cpython/actions/runs/27470943166/job/81201607077?pr=151442 |
|
Run mypy on Tools/peg_generator
| https://github.com/python/cpython/actions/runs/27470943166/job/81201607124?pr=151442 |
|
Tests
on: pull_request
| https://github.com/python/cpython/actions/runs/27470943186 |
|
Change detection / Create context from changed files
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885063?pr=151442 |
|
Docs
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885311?pr=151442 |
|
Check if Autoconf files are up to date
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885344?pr=151442 |
|
Check if generated files are up to date
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885312?pr=151442 |
|
C API Docs / Check if all C APIs are documented
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885570?pr=151442 |
|
Windows / Build and test (x64, switch-case)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885502?pr=151442 |
|
Windows (free-threading) / Build and test (x64, switch-case)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885476?pr=151442 |
|
Windows / Build and test (Win32, switch-case)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885530?pr=151442 |
|
Windows / Build and test (arm64, switch-case)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885626?pr=151442 |
|
Windows (free-threading) / Build and test (arm64, switch-case)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885654?pr=151442 |
|
Windows / Build and test (x64, tail-call)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885566?pr=151442 |
|
Windows (free-threading) / Build and test (x64, tail-call)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885569?pr=151442 |
|
Windows MSI${{ '' }}
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885484?pr=151442 |
|
macOS / build and test (macos-26)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885655?pr=151442 |
|
macOS (free-threading) / build and test (macos-26)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885653?pr=151442 |
|
macOS / build and test (macos-26-intel)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885651?pr=151442 |
|
Ubuntu / build and test (ubuntu-24.04)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885670?pr=151442 |
|
Ubuntu / build and test (ubuntu-24.04-arm)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885773?pr=151442 |
|
Ubuntu (free-threading) / build and test (ubuntu-24.04)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885758?pr=151442 |
|
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885745?pr=151442 |
|
Ubuntu (bolt) / build and test (ubuntu-24.04)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885762?pr=151442 |
|
Ubuntu SSL tests (ubuntu-24.04, openssl, 1.1.1w)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885522?pr=151442 |
|
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.0.21)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885353?pr=151442 |
|
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.4.6)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885621?pr=151442 |
|
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.5.7)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885582?pr=151442 |
|
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.6.3)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885659?pr=151442 |
|
Ubuntu SSL tests (ubuntu-24.04, openssl, 4.0.1)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885663?pr=151442 |
|
Ubuntu SSL tests (ubuntu-24.04, aws-lc, 5.0.0)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885656?pr=151442 |
|
Android (aarch64)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885492?pr=151442 |
|
Android (x86_64)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885511?pr=151442 |
|
iOS
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885358?pr=151442 |
|
Emscripten / build and test
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885612?pr=151442 |
|
WASI / build and test
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885667?pr=151442 |
|
Hypothesis tests on Ubuntu
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885333?pr=151442 |
|
Address sanitizer (ubuntu-24.04)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885442?pr=151442 |
|
Sanitizers / TSan
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885615?pr=151442 |
|
Sanitizers / TSan (free-threading)
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885182?pr=151442 |
|
Sanitizers / UBSan
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885587?pr=151442 |
|
Cross build Linux
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885494?pr=151442 |
|
CIFuzz${{ '' }}
| https://github.com/python/cpython/actions/runs/27470943186/job/81278885457?pr=151442 |
|
All required checks pass
| https://github.com/python/cpython/actions/runs/27470943186/job/81280560245?pr=151442 |
|
Check labels
on: pull_request
| https://github.com/python/cpython/actions/runs/27472234448 |
|
DO-NOT-MERGE
| https://github.com/python/cpython/actions/runs/27472234448/job/81205113070?pr=151442 |
|
Unresolved review
| https://github.com/python/cpython/actions/runs/27472234448/job/81205113066?pr=151442 |
|
Check labels
on: pull_request
| https://github.com/python/cpython/actions/runs/27496233170 |
|
DO-NOT-MERGE
| https://github.com/python/cpython/actions/runs/27496233170/job/81270693235?pr=151442 |
|
Unresolved review
| https://github.com/python/cpython/actions/runs/27496233170/job/81270693226?pr=151442 |
|
Check labels
on: pull_request
| https://github.com/python/cpython/actions/runs/27496233252 |
|
DO-NOT-MERGE
| https://github.com/python/cpython/actions/runs/27496233252/job/81270693321?pr=151442 |
|
Unresolved review
| https://github.com/python/cpython/actions/runs/27496233252/job/81270693313?pr=151442 |
|
Check labels
on: pull_request
| https://github.com/python/cpython/actions/runs/27499962468 |
|
DO-NOT-MERGE
| https://github.com/python/cpython/actions/runs/27499962468/job/81280917455?pr=151442 |
|
Unresolved review
| https://github.com/python/cpython/actions/runs/27499962468/job/81280917444?pr=151442 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |