code-best-practice
Installation
SKILL.md
PyMC-Marketing Best Practices Guide
This document outlines the coding conventions, preferred implementations, and style guidelines for contributing to pymc-marketing.
1. Coding Style & Standards
We follow strict linting and formatting rules enforced by Ruff and MyPy.
Python Conventions
- Type Hints: All function arguments and return types must be typed.
# Good def calculate_metric(data: pd.DataFrame, col: str) -> xarray.DataArray: ...