Skip to content

Commit

Permalink
Merge pull request #8 from Sh1nku/v0.4.3
Browse files Browse the repository at this point in the history
v0.4.3: Fix error causing mypy to not recognize .pyi files
  • Loading branch information
Sh1nku committed Jan 20, 2024
2 parents c869446 + c6d903f commit ce432aa
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 4 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/test_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,14 @@ jobs:
working-directory: ./wrappers/python
run: |
source venv/bin/activate
pytest
pytest
- name: Run mypy
working-directory: ./wrappers/python
run: |
source venv/bin/activate
mypy solrstice/
- name: Run pyright
working-directory: ./wrappers/python
run: |
source venv/bin/activate
pyright solrstice/
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.4.3
* Fix mypy not recognizing .pyi files
* Add static type checking test for mypy and pyright

# v0.4.2
* Switch out openssl for rustls
* Run publish CI when creating PRs
Expand Down
2 changes: 1 addition & 1 deletion framework/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "solrstice"
description = "A Solr 8+ client"
version = "0.4.2"
version = "0.4.3"
edition = "2021"
license = "MIT OR Apache-2.0"
keywords = ["solr", "search"]
Expand Down
2 changes: 1 addition & 1 deletion wrappers/python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "solrstice-py"
version = "0.4.2"
version = "0.4.3"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 3 additions & 1 deletion wrappers/python/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ dataclasses-json
pdoc
autoflake
isort
black
black
mypy
pyright
Empty file.

0 comments on commit ce432aa

Please sign in to comment.