Code-Quality
6 posts
Claude Skills: Teaching Your AI Assistant Context-Aware Expertise
How Claude Skills let you embed reusable expertise into your projects, with a deep dive into building a de-slop skill for cleaning AI-generated code.
McCabe Complexity: The Python Metric You Should Care About
Learn about McCabe Complexity, a key metric for code complexity. Understand, measure with tools like Ruff, and manage complexity in Python projects.
Are Your Tests Enough? Measuring Coverage with Coverage.py
Writing tests is step one. Step two is knowing what parts of your library code those tests actually exercise. Enter Coverage.py.
Why Your Library Needs Pytest (And How to Get Started)
Testing is vital for Python libraries. Explore why it''s crucial and how Pytest simplifies writing powerful tests with less boilerplate and better assertions.
Taming the Python Chaos: Linting & Formatting with Ruff
What linting and formatting actually are, why they matter (a lot!), and how the speedy tool Ruff can save your Python project (and your sanity).
Guide: Developing High-Quality Python Libraries
A comprehensive guide covering the essential aspects of creating robust, maintainable, and user-friendly Python libraries.