You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(deps): migrate to uv with PEP 735 dependency groups (#447)
- Add [project], [project.dependencies], and [dependency-groups]
(test, lint, dev) to pyproject.toml following PEP 735 standard
- Replace requirements.txt, requirements-lint.txt, requirements-test.txt
with pyproject.toml as the single source of truth
- Generate uv.lock for fully pinned, reproducible dependency resolution
- Update GitHub Actions (python-ci.yml, python-cd.yml) to install and
run commands via uv instead of pip
- Update Dockerfile: builder stage uses uv export piped to pip wheel
for offline reproducible builds; runtime stage installs from wheelhouse
with no network access
- Update README.md and copilot-instructions.md with uv setup and usage
Co-authored-by: GitHub Copilot <175728472+Copilot@users.noreply.github.com>
The [`rest/players.rest`](rest/players.rest) file covers all CRUD operations and can be run directly in VS Code with the [REST Client](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) extension.
64
110
111
+
## Running Tests
112
+
113
+
```bash
114
+
uv run pytest -v
115
+
```
116
+
117
+
## Code Quality
118
+
119
+
### Linting
120
+
121
+
```bash
122
+
uv run flake8 .
123
+
```
124
+
125
+
### Code Formatting
126
+
127
+
```bash
128
+
uv run black --check .
129
+
uv run black .# Auto-format
130
+
```
131
+
132
+
### Coverage
133
+
134
+
```bash
135
+
uv run pytest --cov=./ --cov-report=term
136
+
```
137
+
65
138
## Container
66
139
67
140
### Docker Compose
68
141
69
-
This setup uses [Docker Compose](https://docs.docker.com/compose/) to build and run the app and manage a persistent SQLite database stored in a Docker volume.
142
+
This setup uses [Docker Compose](https://docs.docker.com/compose/) to build and run the app and manage a persistent SQLite database stored in a Docker volume. The Dockerfile uses PEP 735 dependency groups defined in `pyproject.toml`.
0 commit comments