| name | dev-workflow |
|---|---|
| description | Install, pytest unit/API/mock, versioning, pylint, hooks—standard workflow for this SDK repo. |
- Setting up locally, opening a PR, or matching CI expectations.
- Answering “how do we run tests?” or “what runs in CI?”
- Install —
pip install -e ".[dev]"or installrequirements.txtplus pytest / pytest-cov as needed. pytest tests/unit/— required baseline (matches CIcoverage run -m pytest tests/unit/).- API tests —
pytest tests/api/when your change affects live CMA behavior; configure.envpertests/cred.py. Never commit tokens. - Mock tests —
pytest tests/mock/when extending mocked HTTP or fixtures.
- Bump
contentstack_management/__init__.py__version__and alignsetup.pyversioning if release-facing.
- pylint is listed in
requirements.txt; follow existing style in touched files. - Husky / Talisman / Snyk — see README.md for local hook setup.
- Build passes:
pytest tests/unit/at minimum; run API / mock when your change touches those layers. - Follow
skills/code-review/SKILL.mdbefore merge. - Prefer backward-compatible public API; call out breaking changes and semver.
AGENTS.mdskills/contentstack-management/SKILL.mdskills/testing/SKILL.md