Skip to content

Commit

Permalink
use py3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Graeme22 committed Oct 9, 2024
1 parent 094732d commit 8bbf01d
Show file tree
Hide file tree
Showing 4 changed files with 255 additions and 1,883 deletions.
1 change: 0 additions & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- name: Setup uv venv
run: |
uv sync
uv pip install .
- name: Lint with ruff
run: |
uv run ruff check .
Expand Down
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@

install:
uv sync
uv pip install -e .

lint:
uv run ruff check .
uv run ruff format .
uv run ruff check --fix .
uv run mypy -p tastytrade
uv run mypy -p tests

test:
uv run pytest --cov=tastytrade --cov-report=term-missing tests/ --cov-fail-under=95

docs:
cd docs; make html
cd docs; uv pip install -r requirements.txt; make html
11 changes: 4 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ build-backend = "hatchling.build"
[project]
name = "tastytrade"
version = "9.0"
description = "An unofficial SDK for Tastytrade!"
description = "An unofficial, sync/async SDK for Tastytrade!"
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [
{name = "Graeme Holliday", email = "[email protected]"},
]

dependencies = [
"httpx>=0.27.2",
"pandas-market-calendars>=4.4.1",
Expand All @@ -28,12 +27,10 @@ Documentation = "https://tastyworks-api.readthedocs.io/en/latest"
dev-dependencies = [
"mypy>=1.11.2",
"pytest>=8.3.3",
"pytest-aio>=1.5.0",
"pytest-cov>=5.0.0",
"ruff>=0.6.7",
"types-pytz>=2024.2.0.20240913",
"types-requests>=2.32.0.20240914",
"jupyter>=1.1.1",
"pytest-aio>=1.9.0",
"ruff>=0.6.9",
"types-pytz>=2024.2.0.20241003",
]

[tool.setuptools.package-data]
Expand Down
Loading

0 comments on commit 8bbf01d

Please sign in to comment.