Taming My AI Assistant's Code Formatting Habits
Description and use
<p>Man, I love my AI coding assistant. Seriously, it’s a game-changer for speeding up boilerplate, brainstorming complex logic, and even just getting unstuck. But for the longest time, there was this one nagging friction point that almost made me throw my mechanical keyboard across the room: its code formatting.</p> <p>Every single time, without fail, any code snippet it suggested would come out in generic, by-the-book PEP8. Which, fine, is a good default. But <em>our</em> team? We run a slightly opinionated black setup. We like a line-length = 90 instead of the default 88, we pin target-versi
Problem
<p>Man, I love my AI coding assistant. Seriously, it’s a game-changer for speeding up boilerplate, brainstorming complex logic, and even just getting unstuck. But for the longest time, there was this one nagging friction point that almost made me throw my mechanical keyboard across the room: its code formatting.</p> <p>Every single time, without fail, any code snippet it suggested would come out in generic, by-the-book PEP8. Which, fine, is a good default. But <em>our</em> team? We run a slightly opinionated black setup. We like a line-length = 90 instead of the default 88, we pin target-versi
Outcome
<p>Man, I love my AI coding assistant. Seriously, it’s a game-changer for speeding up boilerplate, brainstorming complex logic, and even just getting unstuck. But for the longest time, there was this one nagging friction point that almost made me throw my mechanical keyboard across the room: its code formatting.</p> <p>Every single time, without fail, any code snippet it suggested would come out in generic, by-the-book PEP8. Which, fine, is a good default. But <em>our</em> team? We run a slightly opinionated black setup. We like a line-length = 90 instead of the default 88, we pin target-versi
Evidence
Taming My AI Assistant's Code Formatting Habits
- Record date: 2026-10-03T14:41:08.503Z