mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-26 07:20:06 +00:00
core, python: fix refused renames, extend the client API (#7379)
* core: do not commit refused name changes * feat(python): add error base and missing commands * feat(python): let callers drive startup themselves * style(python): satisfy the linter, skip generated types * feat(python): expose the message of a command error * core: update query plans * core: fix the batch limit parse error on GHC 8.10 * feat(python): reject profile images no client can render
This commit is contained in:
@@ -42,6 +42,10 @@ asyncio_mode = "auto"
|
||||
line-length = 100
|
||||
target-version = "py311"
|
||||
|
||||
[tool.ruff.lint]
|
||||
# Generated by the Haskell codegen; regenerating is the only way to change them.
|
||||
exclude = ["src/simplex_chat/types/_*.py"]
|
||||
|
||||
[tool.ruff.format]
|
||||
# `src/simplex_chat/types/*.py` are generated by the Haskell codegen
|
||||
# (bots/src/API/Docs/Generate/Python.hs). Re-formatting them locally
|
||||
|
||||
Reference in New Issue
Block a user