Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest fakeredis
pip install poetry
poetry install --all-groups --no-interaction --no-root -v

- name: Redis Server in GitHub Actions
uses: supercharge/[email protected]

- name: Run tests
run: pytest -s -v --tb=short tests/
run: poetry run pytest -s -v --tb=short tests/
28 changes: 13 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
*.pyc
prompt.md
Pipfile
Pipfile.lock
*.code-workspace
conf/
*.bak
other/
TransitApp/
.vscode/
.DS_Store
.dockerignore
Dockerfile
fly.toml
.pytest_cache/
*.code-workspace
*.instructions.md
*.pyc

CLAUDE.md
poetry.lock
pyproject.toml
.dockerignore
.DS_Store

.pytest_cache/
.vscode/
.claude/
.fly/
conf/
other/
TransitApp/
32 changes: 32 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[project]
name = "transit-sh"
version = "0.1.0"
description = "File transfer service without intermediate storage"
authors = [{name = "Rémi Héneault",email = "[email protected]"}]

requires-python = ">=3.13"
dependencies = [
"uvloop (>=0.21.0, <1.0.0)",
"uvicorn (>=0.35.0, <1.0.0)",
"websockets (>=15.0.1, <16.0.0)",
"httptools (>=0.6.4, <0.7.0)",
"fastapi (>=0.116.1, <1.0.0)",
"pydantic (>=2.11.7, <3.0.0)",
"redis (>=6.3.0, <7.0.0)",
"anyio (>=4.10.0, <5.0.0)",
"jinja2 (>=3.1.6, <4.0.0)",
"sentry-sdk (>=2.34.1, <3.0.0)"
]

[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
package-mode = false

[tool.poetry.group.dev.dependencies]
pytest = "*"
httpx = "*"
rich = "*"

12 changes: 0 additions & 12 deletions requirements.txt

This file was deleted.