Title: Enable `ruff` rule PGH003 · Issue #1501 · commitizen-tools/commitizen · GitHub
Open Graph Title: Enable `ruff` rule PGH003 · Issue #1501 · commitizen-tools/commitizen
X Title: Enable `ruff` rule PGH003 · Issue #1501 · commitizen-tools/commitizen
Description: If you don't mind the extra effort and want better safety, I recommend enabling the ruff rule PGH003. It enforces that all type: ignore comments must specify a clear scope, rather than ignoring all type checks. For more details on the dr...
Open Graph Description: If you don't mind the extra effort and want better safety, I recommend enabling the ruff rule PGH003. It enforces that all type: ignore comments must specify a clear scope, rather than ignoring all...
X Description: If you don't mind the extra effort and want better safety, I recommend enabling the ruff rule PGH003. It enforces that all type: ignore comments must specify a clear scope, rather than ignoring...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/1501
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enable `ruff` rule PGH003","articleBody":"If you don't mind the extra effort and want better safety, I recommend enabling the `ruff` rule [PGH003](https://docs.astral.sh/ruff/rules/blanket-type-ignore/).\r\n\r\nIt enforces that all `type: ignore` comments must specify a clear scope, rather than ignoring all type checks.\r\nFor more details on the drawbacks, please refer to the explanation in the `ruff` documentation above.\r\n\r\n_Originally posted by @gbaian10 in https://github.com/commitizen-tools/commitizen/pull/1466#discussion_r2126822440_\r\n ","author":{"url":"https://github.com/bearomorphism","@type":"Person","name":"bearomorphism"},"datePublished":"2025-06-04T15:06:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1501/commitizen/issues/1501"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f1174f3d-6644-920d-cf14-ae587fbf63e8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D5E0:C8AE2:383F98C:4DCBCF1:6A4F4174 |
| html-safe-nonce | 95910c5be0910821b8d5f312dd499b16679ff10171049597d8f8e0685e79897c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUUwOkM4QUUyOjM4M0Y5OEM6NERDQkNGMTo2QTRGNDE3NCIsInZpc2l0b3JfaWQiOiIzOTQ0MzUxNDM5MzI1NzA4NjYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a6f776359cec1cf785776f9d0cd6c5274a3c64ce98e596458ffbf5af7505ebc9 |
| hovercard-subject-tag | issue:3118180930 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen-tools/commitizen/1501/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6b57763055623a8aa9e6d550c67735d4e6c108d64133c3e8108472bb3e2d726f/commitizen-tools/commitizen/issues/1501 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6b57763055623a8aa9e6d550c67735d4e6c108d64133c3e8108472bb3e2d726f/commitizen-tools/commitizen/issues/1501 |
| og:image:alt | If you don't mind the extra effort and want better safety, I recommend enabling the ruff rule PGH003. It enforces that all type: ignore comments must specify a clear scope, rather than ignoring all... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bearomorphism |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width