Title: Use consistent indentation in YAML files · Issue #147 · usethis-python/usethis-python · GitHub
Open Graph Title: Use consistent indentation in YAML files · Issue #147 · usethis-python/usethis-python
X Title: Use consistent indentation in YAML files · Issue #147 · usethis-python/usethis-python
Description: Motivation Currently, the default is 4 spaces for map values and 2 spaces for sequence items. Summary of desired enhancement We should move to 2 spaces for both. Besides making the indentation scheme simpler for a user, I have also notic...
Open Graph Description: Motivation Currently, the default is 4 spaces for map values and 2 spaces for sequence items. Summary of desired enhancement We should move to 2 spaces for both. Besides making the indentation sche...
X Description: Motivation Currently, the default is 4 spaces for map values and 2 spaces for sequence items. Summary of desired enhancement We should move to 2 spaces for both. Besides making the indentation sche...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/147
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use consistent indentation in YAML files","articleBody":"**Motivation**\r\nCurrently, the default is 4 spaces for map values and 2 spaces for sequence items.\r\n\r\n**Summary of desired enhancement**\r\nWe should move to 2 spaces for both. Besides making the indentation scheme simpler for a user, I have also noticed the following compatibility enhancements:\r\n\r\n- LLM code completion (e.g. GitHub Copilot) seems to be design to use consistent indentation and doesn't cope well with the current approach\r\n- VS Code automatically detects indentation and applies a formatter (at least with my config) but it is not coping with the mixed indentation approach.","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2025-01-05T23:54:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/147/usethis-python/issues/147"}
| 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:0d7bb542-13a5-16d7-fca6-45f8c5e35710 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A0B6:11C2D2:AC30A2:E7A6A1:6A4ED1B0 |
| html-safe-nonce | e011e8bd3b4221672a95ba9a4b2bcee1a8242cd077e9cf3f7fd55a20d1b0bded |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMEI2OjExQzJEMjpBQzMwQTI6RTdBNkExOjZBNEVEMUIwIiwidmlzaXRvcl9pZCI6IjczNDMwNDAxODgyODc3MzQxOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6c9f8b59ea92ec25d21f8c5b1ca7974177716890fbf558361c16cc242898b4aa |
| hovercard-subject-tag | issue:2769512625 |
| 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/usethis-python/usethis-python/147/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2dbe4a83f634a3b660e1c2637ebf7fd3a985c5c1a36627314af71b2c9ec7508a/usethis-python/usethis-python/issues/147 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2dbe4a83f634a3b660e1c2637ebf7fd3a985c5c1a36627314af71b2c9ec7508a/usethis-python/usethis-python/issues/147 |
| og:image:alt | Motivation Currently, the default is 4 spaces for map values and 2 spaces for sequence items. Summary of desired enhancement We should move to 2 spaces for both. Besides making the indentation sche... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nathanjmcdougall |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git |
| octolytics-dimension-user_id | 216362695 |
| octolytics-dimension-user_login | usethis-python |
| octolytics-dimension-repository_id | 842189705 |
| octolytics-dimension-repository_nwo | usethis-python/usethis-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 842189705 |
| octolytics-dimension-repository_network_root_nwo | usethis-python/usethis-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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width