Skip to content

Commit 5610bf1

Browse files
authored
Merge pull request #534 from nanotaboada/docs/sync-docs-with-codebase
docs: sync documentation with current codebase state
2 parents 939a91f + 6c48f11 commit 5610bf1

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.coderabbit.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ reviews:
7272
- path: "models/**/*.py"
7373
instructions: |
7474
- Pydantic models should use Field for validation
75-
- Verify camelCase aliasing with Config.alias_generator = to_camel
75+
- Verify camelCase aliasing with model_config = ConfigDict(alias_generator=to_camel)
7676
- Check that validation constraints match business rules
7777
- Ensure models are separate from database schemas
7878
@@ -82,7 +82,6 @@ reviews:
8282
- Verify test naming follows test_request_{method}_{resource}_{param_or_context}_response_{outcome} pattern
8383
- Check that TestClient is used for endpoint testing
8484
- Ensure test data uses stubs (e.g., player_stub.py)
85-
- Tests should use async test functions where appropriate
8685
- Validate coverage targets (80% minimum)
8786
8887
- path: "main.py"
@@ -211,7 +210,7 @@ reviews:
211210
title:
212211
mode: warning
213212
requirements: |
214-
- Use Conventional Commits format (feat:, fix:, chore:, docs:, test:, refactor:)
213+
- Use Conventional Commits format (feat:, fix:, chore:, docs:, test:, refactor:, ci:, perf:)
215214
- Keep under 80 characters
216215
- Be descriptive and specific
217216
description:

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ The CD workflow automatically:
167167

168168
---
169169

170-
[unreleased]: https://github.com/nanotaboada/python-samples-fastapi-restful/compare/v1.1.0-bielsa...HEAD
170+
[unreleased]: https://github.com/nanotaboada/python-samples-fastapi-restful/compare/v2.0.0-capello...HEAD
171+
[2.0.0 - Capello]: https://github.com/nanotaboada/python-samples-fastapi-restful/compare/v1.1.0-bielsa...v2.0.0-capello
171172
[1.1.0 - Bielsa]: https://github.com/nanotaboada/python-samples-fastapi-restful/compare/v1.0.0-ancelotti...v1.1.0-bielsa
172173
[1.0.0 - Ancelotti]: https://github.com/nanotaboada/python-samples-fastapi-restful/releases/tag/v1.0.0-ancelotti

CONTRIBUTING.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ We value **incremental, detail‑first contributions** over big rewrites or abst
1414
- `feat: ` for new features
1515
- `fix: ` for bug fixes
1616
- `chore: ` for maintenance or tooling
17+
- `docs: ` for documentation changes
18+
- `test: ` for test additions or corrections
19+
- `refactor: ` for code changes that neither fix a bug nor add a feature
20+
- `ci: ` for CI/CD pipeline changes
21+
- `perf: ` for performance improvements
1722

1823
- **Logical Commits**
1924
Group changes by purpose. Multiple commits are fine, but avoid noise. Squash when appropriate.
@@ -25,7 +30,7 @@ We value **incremental, detail‑first contributions** over big rewrites or abst
2530
- Use **[flake8](https://flake8.pycqa.org/en/latest/)** for static checks.
2631
- Line length also set to 88.
2732
- Some flake8 warnings are disabled (e.g. `E203`, `W503`) to avoid conflicts with Black.
28-
- Run `black .` and `flake8` before submitting.
33+
- Run `uv run black .` and `uv run flake8 .` before submitting.
2934
- Use Python **3.13.x** for local testing and formatting.
3035

3136
- **Testing**

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Proof of Concept for a RESTful API built with [Python 3](https://www.python.org/
3838
- 📚 **Interactive API exploration** - Auto-generated OpenAPI docs with FastAPI's built-in Swagger UI and `.rest` file for REST Client integration
3939
-**Performance optimizations** - Async SQLAlchemy, in-memory caching with aiocache (10-minute TTL), and efficient database operations
4040
- 🧪 **High test coverage** - Pytest suite with 80% minimum coverage and automated reporting to Codecov and SonarCloud
41-
- 📖 **Token-efficient documentation** - Copilot instructions with coding guidelines, architecture rules, and agent workflows for AI-assisted development
41+
- 📖 **Agent-optimized documentation** - Claude Code and GitHub Copilot instructions with coding guidelines, architecture rules, and agent workflows for AI-assisted development
4242
- 🐳 **Full containerization** - Production-ready Docker setup with Docker Compose orchestration
4343
- 🔄 **Complete CI/CD pipeline** - Automated linting (Black/Flake8), testing, Docker publishing, and GitHub releases
4444
- ♟️ **Coach-themed semantic versioning** - Memorable, alphabetical release names honoring legendary football coaches

0 commit comments

Comments
 (0)