[GH-ISSUE #89] Introduce a lint that warns when we use to_case(Case::Pascal) #153

Closed
opened 2026-03-15 11:48:02 +03:00 by kerem · 0 comments
Owner

Originally created by @mschlaipfer on GitHub (Dec 18, 2025).
Original GitHub issue: https://github.com/awslabs/iam-policy-autopilot/issues/89

Originally assigned to: @mschlaipfer on GitHub.

It is inviting to convert Python snake_case method names to operation names, but it is not the right way to do it. See https://github.com/awslabs/iam-policy-autopilot/issues/66, describe_db_clusters doesn't convert correctly. We need to convert via method_lookup.

Most likely case conversion to PascalCase is wrong and we should fail on it. If needed in some context one can still explicitly disable the lint.

Originally created by @mschlaipfer on GitHub (Dec 18, 2025). Original GitHub issue: https://github.com/awslabs/iam-policy-autopilot/issues/89 Originally assigned to: @mschlaipfer on GitHub. It is inviting to convert Python snake_case method names to operation names, but it is not the right way to do it. See https://github.com/awslabs/iam-policy-autopilot/issues/66, `describe_db_clusters` doesn't convert correctly. We need to convert via `method_lookup`. Most likely case conversion to PascalCase is wrong and we should fail on it. If needed in some context one can still explicitly disable the lint.
kerem 2026-03-15 11:48:02 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/iam-policy-autopilot#153
No description provided.