Title: Enable deferred Ruff typing modernization rules · Issue #322 · microsoft/durabletask-python · GitHub
Open Graph Title: Enable deferred Ruff typing modernization rules · Issue #322 · microsoft/durabletask-python
X Title: Enable deferred Ruff typing modernization rules · Issue #322 · microsoft/durabletask-python
Description: Summary Adopt the typing-related Ruff UP rules currently deferred during modernization-lint rollout: UP006, UP007, UP035, UP037, UP040, UP043, UP045, and UP047. These rules currently report 889 findings across the SDKs, tests, and exampl...
Open Graph Description: Summary Adopt the typing-related Ruff UP rules currently deferred during modernization-lint rollout: UP006, UP007, UP035, UP037, UP040, UP043, UP045, and UP047. These rules currently report 889 fin...
X Description: Summary Adopt the typing-related Ruff UP rules currently deferred during modernization-lint rollout: UP006, UP007, UP035, UP037, UP040, UP043, UP045, and UP047. These rules currently report 889 fin...
Opengraph URL: https://github.com/microsoft/durabletask-python/issues/322
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enable deferred Ruff typing modernization rules","articleBody":"## Summary\n\nAdopt the typing-related Ruff `UP` rules currently deferred during modernization-lint rollout: `UP006`, `UP007`, `UP035`, `UP037`, `UP040`, `UP043`, `UP045`, and `UP047`.\n\nThese rules currently report 889 findings across the SDKs, tests, and examples, primarily `Optional` and `Union` annotations. The initial guardrails intentionally avoid a broad annotation migration. While these rules are excluded, Ruff does not prevent new occurrences; repository instructions remain the guidance for new code.\n\n## Compatibility requirements\n\n- Retain Python 3.11 compatibility for core/Managed and Python 3.13 compatibility for Functions, including corresponding tests and examples.\n- Preserve public API compatibility and runtime annotation behavior used by introspection, serialization, and decorators.\n- Review PEP 695 aliases and generic functions separately from mechanical import/syntax changes; do not assume runtime equivalence.\n- Exclude generated protobuf files from hand-written modernization.\n\n## Completion criteria\n\nModernize in focused changes, remove each corresponding Ruff exclusion as its findings are resolved, and verify applicable type checks and behavior tests.","author":{"url":"https://github.com/andystaples","@type":"Person","name":"andystaples"},"datePublished":"2026-11-02T19:15:23Z","url":"https://github.com/microsoft/durabletask-python/issues/322"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a471fe41-2c8e-6a00-887b-c5b656497b61 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9064:27272:3A5C15:4F5131:6AFE1E89 |
| html-safe-nonce | f6fdc7af2cf0e2448d6d0d932660af1e438de14c8dc3d7e95f7803b1a0823380 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDY0OjI3MjcyOjNBNUMxNTo0RjUxMzE6NkFGRTFFODkiLCJ2aXNpdG9yX2lkIjoiNjc5NTIyNzg5ODY1MjI3MDIxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | da74ebd003ef8f63fccfd83675c67808f462efb6c4fe100c902434aa2309421e |
| hovercard-subject-tag | issue:6169266386 |
| 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/microsoft/durabletask-python/322/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d720acf5b21c96ba16c5c3b86f8080dc13e031bef0155ce746a1c874ef8a2ceb/microsoft/durabletask-python/issues/322 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d720acf5b21c96ba16c5c3b86f8080dc13e031bef0155ce746a1c874ef8a2ceb/microsoft/durabletask-python/issues/322 |
| og:image:alt | Summary Adopt the typing-related Ruff UP rules currently deferred during modernization-lint rollout: UP006, UP007, UP035, UP037, UP040, UP043, UP045, and UP047. These rules currently report 889 fin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andystaples |
| hostname | github.com |
| expected-hostname | github.com |
| None | d0525ab1464526bf4532a5551aa348cf100dff75ef808a96fc67a08b1d946aa9 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/durabletask-python git https://github.com/microsoft/durabletask-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 627664515 |
| octolytics-dimension-repository_nwo | microsoft/durabletask-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627664515 |
| octolytics-dimension-repository_network_root_nwo | microsoft/durabletask-python |
| 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 | fef3993a71fa20f7be8e167132fbf9619bc66e12 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width