Commit 57b90b0
committed
fix: Sort Python attributes alphabetically by constant name
The Python generator was iterating over attributeFiles directly without
sorting, while the JavaScript generator sorted by constant name. This
caused attributes to appear out of alphabetical order when a file and
directory with similar names coexisted (e.g., lcp.json and lcp/ directory).
Fixed by adding the same sorting logic to the Python generator that was
already present in the JavaScript generator, ensuring consistent
alphabetical ordering across both generated outputs.1 parent a0d1688 commit 57b90b0
File tree
2 files changed
+2674
-1925
lines changed- python/src/sentry_conventions
- scripts
2 files changed
+2674
-1925
lines changed
0 commit comments