Skip to content

Commit

Permalink
Bump API client to 17.2.0 and make mypy in pre-commit use it
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonj04 committed Nov 9, 2023
1 parent 62f47c8 commit b539655
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ repos:
rev: v1.6.1 # Use the sha / tag you want to point at
hooks:
- id: mypy
additional_dependencies: ["types-requests", "types-ujson"]
additional_dependencies:
[
"types-requests",
"types-ujson",
"ds-caselaw-marklogic-api-client==17.2.0",
]
files: ^src/

# sets up .pre-commit-ci.yaml to ensure pre-commit dependencies stay up to date
Expand Down
22 changes: 4 additions & 18 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ readme = "README.md"
python = ">=3.12, <4"
fastapi = ">=0.103.2"
python-dotenv = ">=1.0.0"
ds-caselaw-marklogic-api-client = ">=5.2.0"
ds-caselaw-marklogic-api-client = "17.2.0"
django-environ = ">=0.11.2"
requests = {extras = ["use-chardet-on-py3"], version = ">=2.31.0"}
requests-toolbelt = ">=1.0.0"
Expand Down

0 comments on commit b539655

Please sign in to comment.