The Real Python Podcast

Configuring Git Pre-Commit Hooks & Estimating Software Projects

17 snips
Sep 13, 2024
Join Christopher Trudeau, a regular contributor and expert in Python development, as he dives into the powerful world of Git pre-commit hooks. Learn how to create custom checks that enhance code quality every time you commit. He also unpacks the art of estimating software projects, sharing insights on agile practices and effective 'guesstimation' techniques. Plus, explore exciting community projects, including integrations with Django and optimization strategies that balance performance with readability. It's a treasure trove for developers!
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
ADVICE

Automating Code Checks with Pre-commit Hooks

  • Use pre-commit hooks to automate code checks and enforce style guidelines.
  • Install the pre-commit package and configure a YAML file to specify hooks.
INSIGHT

GraphQL and Graphene for Django APIs

  • GraphQL offers a different approach to APIs than REST, using a single endpoint and queries.
  • Graphene is a popular GraphQL library for Django.
ADVICE

Python Optimization Techniques

  • Profile code before optimizing to pinpoint areas needing improvement.
  • Consider libraries like NumPy for optimized operations.
Get the Snipd Podcast app to discover more snips from this episode
Get the app