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
10 changes: 2 additions & 8 deletions compile_proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,12 @@
# Terminate on errors
set -e


printf "Synchronising submodules... "
git submodule sync --recursive >> /dev/null
git submodule update --recursive --remote --init >> /dev/null
git submodule sync --recursive >>/dev/null
git submodule update --recursive --remote --init >>/dev/null
printf "DONE\n\n"

server_file="./protos/fishjam/server_notifications.proto"
printf "Compiling: file $server_file\n"
protoc -I . --python_betterproto_out=./fishjam/events/_protos $server_file
printf "\tDONE\n"

peer_file="./protos/fishjam/peer_notifications.proto"
printf "Compiling: file $peer_file\n"
protoc -I . --python_betterproto_out=./tests/support/protos $peer_file
printf "\tDONE\n"
8 changes: 4 additions & 4 deletions fishjam/events/_protos/fishjam/__init__.py

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

14 changes: 11 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "fishjam-server-sdk"
version = "0.7.0"
version = "0.8.0"
description = "Python server SDK for the Fishjam Cloud"
authors = ["Fishjam Team"]
homepage = "https://github.com/fishjam-cloud/python-server-sdk"
Expand Down Expand Up @@ -62,11 +62,19 @@ ignore = []

[tool.pytest.ini_options]
markers = [
"file_component_sources: Tests requiring files uploaded for File Component"
"file_component_sources: Tests requiring files uploaded for File Component",
]

[tool.pyright]
exclude = ["**/.venv", "**/__pycache__", ".pytest_cache", ".ruff_cache", "lib", "fishjam/_openapi_client", "tests"]
exclude = [
"**/.venv",
"**/__pycache__",
".pytest_cache",
".ruff_cache",
"lib",
"fishjam/_openapi_client",
"tests",
]
typeCheckingMode = "basic"
venv = ".venv"
venvPath = "."
Loading