# Ops Pyproject Toml Pytest

> Sub-skill of ops-pyproject-toml: pytest (+2).

- Skill: `vamseeachanta/ops-pyproject-toml-pytest` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vamseeachanta/ops-pyproject-toml-pytest`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vamseeachanta/ops-pyproject-toml-pytest/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: vamseeachanta (https://skillmd.com/u/vamseeachanta)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vamseeachanta/ops-pyproject-toml-pytest

---


# pytest (+2)

## pytest


```toml
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"]
addopts = [
    "-v",                    # Verbose
    "--tb=short",           # Short traceback
    "-ra",                  # Show extra summary
    "--strict-markers",     # Error on unknown markers
    "--cov=src",           # Coverage

*See sub-skills for full details.*

## ruff (Modern Linter)


```toml
[tool.ruff]
line-length = 88
target-version = "py310"

[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "UP"]
ignore = ["E501"]

[tool.ruff.format]
quote-style = "double"
```

## mypy (Type Checker)


```toml
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true

[[tool.mypy.overrides]]
module = ["pandas.*", "numpy.*"]
ignore_missing_imports = true
```

