gvwilson / sdxpy

Software Design by Example: a tool-based introduction with Python
https://third-bit.com/sdxpy/
Other
353 stars 53 forks source link

/intro - Section 1.7: Exercises (2023-09-06) #231

Closed bielsnohr closed 1 year ago

bielsnohr commented 1 year ago

When checking files with the formatters/linters in part 2 of exercise "Setting Up" it might be worth mentioning what the flags are for black and isort so that they don't edit files in place. E.g.

black --diff --color <filename>
isort --diff <filename>

I imagine most students will be at a level of familiarity with these tools, but files automatically changing was something that caught me out when first getting accustomed to these tools.

gvwilson commented 1 year ago

Thanks Matt - can you please email me your name (gvwilson@third-bit.com) so I can add you to the acknowledgments?

bielsnohr commented 11 months ago

Certainly. Email sent.