Skip to content

Commit

Permalink
Add type stubs (#51)
Browse files Browse the repository at this point in the history
* Add typed libraries

* Fix tests directory

* Update readme
  • Loading branch information
AndyRae authored Jan 23, 2025
1 parent 44a2534 commit 88e2798
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"python.testing.pytestArgs": [
"test"
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
|-|-|-|
| ![Python][python-badge] | [![Bunny Docker Images][docker-badge]][bunny-containers] | [![Bunny Docs][docs-badge]][bunny-docs] |

An HDR UK Cohort Discovery Task Resolver.
A Cohort Discovery Task Resolver.

Fetches and resolves Availability and Distribution Queries against an OMOP-CDM database.
Fetches and resolves Availability and Distribution Queries against an OMOP CDM database.

[hutch-logo]: https://raw.githubusercontent.com/HDRUK/hutch/main/assets/Hutch%20splash%20bg.svg
[hutch-repo]: https://github.com/health-informatics-uon/hutch
Expand Down
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,10 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[dependency-groups]
dev = ["ruff>=0.8.6", "pytest>=8.3.4"]
dev = [
"ruff>=0.8.6",
"pytest>=8.3.4",
"pandas-stubs>=2.2.3.241126",
"mypy>=1.14.1",
"types-requests>=2.32.0.20241016",
]
68 changes: 68 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 88e2798

Please sign in to comment.