-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.mdc
More file actions
39 lines (31 loc) · 958 Bytes
/
project.mdc
File metadata and controls
39 lines (31 loc) · 958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
type: always
---
# {{ cookiecutter.project_name }} Project Rules
You are working on {{ cookiecutter.project_name }}, a Python application built with modern best practices.
## Project Info
- Description: {{ cookiecutter.project_short_description }}
- Company: {{ cookiecutter.company_name }}
- Python {{ cookiecutter.python_version }}+
- Package manager: uv (NOT pip/poetry)
## Tech Stack
- Testing: pytest (>80% coverage)
- Linting: ruff, pyright, refurb
- Security: grype, syft
- Docker: Multi-platform builds
- CI/CD: GitHub Actions
## Code Requirements
- Max line: 120 chars
- Type hints required
- Google-style docstrings
- pathlib only (no os.path)
- logging only (no print)
- Specific exceptions
## Key Commands
```bash
task init # Setup
task build test # Before commits
task docker-build # Build container
task release # Release
```
## Important
Look for `NotImplementedError` markers - implement these with business logic.