sinapsis 0.1.1__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. {sinapsis-0.1.1 → sinapsis-0.2.1}/PKG-INFO +11 -4
  2. {sinapsis-0.1.1 → sinapsis-0.2.1}/README.md +3 -2
  3. {sinapsis-0.1.1 → sinapsis-0.2.1}/pyproject.toml +10 -4
  4. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis/templates/hello_world.py +0 -2
  5. sinapsis-0.2.1/src/sinapsis/webapp/chatbot_base.py +274 -0
  6. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis.egg-info/PKG-INFO +11 -4
  7. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis.egg-info/SOURCES.txt +2 -10
  8. sinapsis-0.1.1/.dockerignore +0 -1
  9. sinapsis-0.1.1/.gitignore +0 -49
  10. sinapsis-0.1.1/.pre-commit-config.yaml +0 -46
  11. sinapsis-0.1.1/.python-version +0 -1
  12. sinapsis-0.1.1/README-internal.md +0 -272
  13. sinapsis-0.1.1/docker/Dockerfile +0 -44
  14. sinapsis-0.1.1/docker/compose.yaml +0 -18
  15. sinapsis-0.1.1/src/sinapsis/configs/hello_world_agent.yml +0 -22
  16. sinapsis-0.1.1/uv.lock +0 -342
  17. {sinapsis-0.1.1 → sinapsis-0.2.1}/LICENSE +0 -0
  18. {sinapsis-0.1.1 → sinapsis-0.2.1}/setup.cfg +0 -0
  19. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis/__init__.py +0 -0
  20. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis/bin/sinapsis_cli.py +0 -0
  21. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis/templates/__init__.py +0 -0
  22. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis/templates/display_hello_world.py +0 -0
  23. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis/webapp/__init__.py +0 -0
  24. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis/webapp/agent_gradio_helper.py +0 -0
  25. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis/webapp/agent_webapp_utils.py +0 -0
  26. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis.egg-info/dependency_links.txt +0 -0
  27. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis.egg-info/entry_points.txt +0 -0
  28. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis.egg-info/requires.txt +0 -0
  29. {sinapsis-0.1.1 → sinapsis-0.2.1}/src/sinapsis.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: sinapsis
3
- Version: 0.1.1
3
+ Version: 0.2.1
4
4
  Summary: Modular and Universal AI platform
5
5
  Author-email: SinapsisAI <dev@sinapsis.tech>
6
6
  License: GNU AFFERO GENERAL PUBLIC LICENSE
@@ -665,11 +665,17 @@ License: GNU AFFERO GENERAL PUBLIC LICENSE
665
665
  For more information on this, and how to apply and follow the GNU AGPL, see
666
666
  <https://www.gnu.org/licenses/>.
667
667
 
668
+ Project-URL: Homepage, https://sinapsis.tech
669
+ Project-URL: Documentation, https://docs.sinapsis.tech/docs
670
+ Project-URL: Tutorials, https://docs.sinapsis.tech/tutorials
671
+ Project-URL: Repository, https://github.com/Sinapsis-AI/sinapsis.git
668
672
  Requires-Python: >=3.10
669
673
  Description-Content-Type: text/markdown
674
+ License-File: LICENSE
670
675
  Requires-Dist: sinapsis-core>=0.1.0
671
676
  Provides-Extra: all
672
677
  Requires-Dist: sinapsis[dev]; extra == "all"
678
+ Dynamic: license-file
673
679
 
674
680
  <h1 align="center">
675
681
  <br>
@@ -718,11 +724,11 @@ If you need to install <code>uv</code> please see the [official documentation](h
718
724
 
719
725
  Example with <code>uv</code>:
720
726
  ```bash
721
- uv pip install sinapsis
727
+ uv pip install sinapsis --extra-index-url https://pypi.sinapsis.tech
722
728
  ```
723
729
  or with raw <code>pip</code>:
724
730
  ```bash
725
- pip install sinapsis
731
+ pip install sinapsis --extra-index-url https://pypi.sinapsis.tech
726
732
  ```
727
733
 
728
734
 
@@ -845,6 +851,7 @@ sinapsis run my_test_agent.yml
845
851
 
846
852
  - Data Validation and Type Safety through Pydantic
847
853
  - YAML-based configuration files
854
+ - Command Line Interface
848
855
  </details>
849
856
 
850
857
  <h2 id="examples">👀 Examples</h2>
@@ -45,11 +45,11 @@ If you need to install <code>uv</code> please see the [official documentation](h
45
45
 
46
46
  Example with <code>uv</code>:
47
47
  ```bash
48
- uv pip install sinapsis
48
+ uv pip install sinapsis --extra-index-url https://pypi.sinapsis.tech
49
49
  ```
50
50
  or with raw <code>pip</code>:
51
51
  ```bash
52
- pip install sinapsis
52
+ pip install sinapsis --extra-index-url https://pypi.sinapsis.tech
53
53
  ```
54
54
 
55
55
 
@@ -172,6 +172,7 @@ sinapsis run my_test_agent.yml
172
172
 
173
173
  - Data Validation and Type Safety through Pydantic
174
174
  - YAML-based configuration files
175
+ - Command Line Interface
175
176
  </details>
176
177
 
177
178
  <h2 id="examples">👀 Examples</h2>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sinapsis"
3
- version = "0.1.1"
3
+ version = "0.2.1"
4
4
  description = "Modular and Universal AI platform"
5
5
  authors = [
6
6
  {name = "SinapsisAI", email = "dev@sinapsis.tech"},
@@ -58,7 +58,13 @@ sinapsis-core = { index = "sinapsis-core" }
58
58
  [[tool.uv.index]]
59
59
  name = "sinapsis-core"
60
60
  url = "https://pypi.sinapsis.tech/"
61
- explicit = true
62
61
 
63
- [tool.setuptools]
64
- license-files = []
62
+ [build-system]
63
+ requires = ["setuptools"]
64
+ build-backend = "setuptools.build_meta"
65
+
66
+ [project.urls]
67
+ Homepage = "https://sinapsis.tech"
68
+ Documentation = "https://docs.sinapsis.tech/docs"
69
+ Tutorials = "https://docs.sinapsis.tech/tutorials"
70
+ Repository = "https://github.com/Sinapsis-AI/sinapsis.git"
@@ -46,10 +46,8 @@ class HelloWorld(Template):
46
46
  container (DataContainer): The modified data container. A text packet is appended to the 'texts' field.
47
47
  """
48
48
  text_packet = TextPacket(content=self.attributes.display_text)
49
- # optionally add additional metadata that may be useful in downstream tasks
50
49
  text_packet.source = self.instance_name
51
50
 
52
- # finally append it to the data container
53
51
  container.texts.append(text_packet)
54
52
 
55
53
  return container
@@ -0,0 +1,274 @@
1
+ # -*- coding: utf-8 -*-
2
+ import json
3
+ import os.path
4
+ import uuid
5
+
6
+ import gradio as gr
7
+ from pydantic.dataclasses import dataclass
8
+ from sinapsis_core.cli.run_agent_from_config import generic_agent_builder
9
+ from sinapsis_core.data_containers.data_packet import DataContainer, TextPacket
10
+ from sinapsis_core.utils.env_var_keys import SINAPSIS_CACHE_DIR
11
+ from sinapsis_core.utils.logging_utils import sinapsis_logger
12
+
13
+ from sinapsis.webapp.agent_gradio_helper import add_logo_and_title, css_header
14
+
15
+ SINAPSIS_AVATAR = "https://github.com/Sinapsis-AI/brand-resources/blob/main/sinapsis_logo/4x/fav_icon.png?raw=true"
16
+
17
+
18
+ @dataclass
19
+ class ChatKeys:
20
+ """
21
+ Defines key names used for referencing various chat-related data types.
22
+
23
+ This class serves as a centralized place to manage key names for different types of data
24
+ that may be used in chat interactions. These keys are typically used to map data in structured formats.
25
+ """
26
+
27
+ text: str = "text"
28
+ files: str = "files"
29
+ file_path: str = "path"
30
+ audio_path: str = "audio_path"
31
+ role: str = "role"
32
+ content: str = "content"
33
+ user: str = "user"
34
+ assistant: str = "assistant"
35
+
36
+
37
+ class BaseChatbot:
38
+ """
39
+ A base chatbot class designed to work with various LLM frameworks, such as LLaMA.
40
+ This class provides the functionality to interact with users through text, audio,
41
+ and file inputs, maintain chat history, and integrate with Gradio for a web
42
+ interface. The class is intended to serve as a foundation
43
+ that can be adapted to different LLM frameworks by modifying the agent
44
+ initialization and response handling methods.
45
+ """
46
+
47
+ def __init__(self, config_file: str, app_title: str = "Sinapsis LLaMA Chatbot") -> None:
48
+ """
49
+ Initialize the chatbot with given configuration, framework, and task.
50
+
51
+ Args:
52
+ config_file (str): Path to the configuration file.
53
+ app_title (str): Title of the app
54
+ """
55
+ self.config_file = config_file
56
+ self.file_name = f"{SINAPSIS_CACHE_DIR}/chatbot/chat.txt"
57
+ os.makedirs(os.path.dirname(self.file_name), exist_ok=True)
58
+ self.app_title = app_title
59
+ self.chat_history: list = self.load_chat()
60
+ self.agent = generic_agent_builder(self.config_file)
61
+
62
+ def load_chat(self) -> list:
63
+ """If the file self.file_name exists, it loads
64
+ previous chat history. Otherwise, it creates a new file and
65
+ sets the chat history as an empty list
66
+
67
+ Returns:
68
+ the list of messages or empty list for messages
69
+ """
70
+ if os.path.exists(self.file_name):
71
+ with open(self.file_name, "r", encoding="utf-8") as chat:
72
+ try:
73
+ history = json.load(chat)
74
+ except json.JSONDecodeError:
75
+ history = []
76
+ else:
77
+ history = []
78
+ with open(self.file_name, "w") as file:
79
+ json.dump(history, file)
80
+ return history
81
+
82
+ @staticmethod
83
+ def generate_packet(message, conv_id: str) -> DataContainer:
84
+ """
85
+ Args:
86
+ message (str): The user's input message, either as a audio file or text
87
+ conv_id (str): The conversation ID to associate with the message.
88
+ """
89
+ container = DataContainer()
90
+ if not message.endswith("wav"):
91
+ text_msg = TextPacket(content=message, id=conv_id)
92
+ container.texts.append(text_msg)
93
+ else:
94
+ container.generic_data[ChatKeys.audio_path] = message
95
+ return container
96
+
97
+ def agent_execution(self, container: DataContainer) -> dict:
98
+ """
99
+ Makes a call to the agent to retrieve a response from the templates in the agent.
100
+
101
+ Args:
102
+ container (DataContainer): container with the packets to be processed by the
103
+ templates in the agent.
104
+
105
+ Returns:
106
+ dict : The response to be added to the chatbot window
107
+
108
+ """
109
+ response = self.agent(container)
110
+ response_dict = {
111
+ ChatKeys.text: "Could not process request, please try again",
112
+ ChatKeys.files: [],
113
+ }
114
+
115
+ if response.texts:
116
+ response_dict = {
117
+ ChatKeys.text: response.texts[-1].content,
118
+ ChatKeys.files: [],
119
+ }
120
+ if container.generic_data.get(ChatKeys.audio_path):
121
+ container.generic_data[ChatKeys.audio_path] = False
122
+ return response_dict
123
+
124
+ @staticmethod
125
+ def _set_conversation_id(conv_id: str) -> str:
126
+ """
127
+ Ensure a valid conversation ID is set. If no ID is provided, a new one is
128
+ generated.
129
+ Args:
130
+ conv_id (str): The provided conversation ID.
131
+ Returns:
132
+ str: The valid conversation ID (either provided or generated).
133
+ """
134
+ if not conv_id:
135
+ conv_id = str(uuid.uuid4())
136
+ return conv_id
137
+
138
+ def add_message(self, message: dict | str, role: str) -> tuple[gr.components.Textbox, gr.components.Audio]:
139
+ """
140
+ The method adds a user or assistant message to the chat history.
141
+
142
+ Args:
143
+ message (dict | str): The input message, either as text or a dictionary.
144
+ role (str): The role of the message sender, e.g., "user" or "assistant".
145
+
146
+ Returns:
147
+ tuple: A tuple with updated chat history, a Textbox, and an Audio component.
148
+ """
149
+
150
+ if isinstance(message, dict):
151
+ for x in message[ChatKeys.files]:
152
+ self.chat_history.append({ChatKeys.role: role, ChatKeys.content: {ChatKeys.file_path: x}})
153
+ if message[ChatKeys.text]:
154
+ self.chat_history.append({ChatKeys.role: role, ChatKeys.content: message[ChatKeys.text]})
155
+ elif isinstance(message, str) and not message.endswith("wav"):
156
+ self.chat_history.append({ChatKeys.role: role, ChatKeys.content: message})
157
+ else:
158
+ self.chat_history.append({ChatKeys.role: role, ChatKeys.content: {ChatKeys.file_path: message}})
159
+ return (
160
+ gr.Textbox(value=None),
161
+ gr.Audio(value=None),
162
+ )
163
+
164
+ def stop_agent(self) -> tuple[dict, dict]:
165
+ """
166
+ Stop the chatbot's agent and save the chat history to a file.
167
+
168
+
169
+ Returns:
170
+ tuple: A tuple with None and Gradio updates for interactivity.
171
+ """
172
+ with open(self.file_name, "w+", encoding="utf-8") as chat:
173
+ json.dump(self.chat_history, chat, indent=4)
174
+ chat.close()
175
+ self.agent = None
176
+ return gr.update(interactive=False), gr.update(interactive=False)
177
+
178
+ def _clear_history(self) -> None:
179
+ """
180
+ Clears the chat history and saves it to a file named "chat.txt".
181
+
182
+ This method writes the current chat history to a file in JSON format,
183
+ then clears the history.
184
+ """
185
+ self.chat_history = []
186
+ try:
187
+ os.remove(self.file_name)
188
+ except FileNotFoundError:
189
+ sinapsis_logger.warning("Chat history file does not exist")
190
+
191
+ def process_msg(self, message: str, conv_id: str) -> tuple[list, gr.Textbox, gr.Audio, str] | list:
192
+ """
193
+ Process a user message and generate a chatbot response.
194
+
195
+ Args:
196
+ message (str): The user's input message.
197
+ conv_id (str): The conversation ID for the current session.
198
+
199
+ Returns:
200
+ tuple: The updated chat history and UI components for the chatbot interface.
201
+ """
202
+
203
+ conv_id = self._set_conversation_id(conv_id)
204
+ _ = self.add_message(message, ChatKeys.user)
205
+ container = self.generate_packet(message, conv_id)
206
+ response = self.agent_execution(container)
207
+
208
+ retrieved_chat = self.add_message(response, ChatKeys.assistant)
209
+ return self.chat_history, retrieved_chat[0], retrieved_chat[1], conv_id
210
+
211
+ def add_app_components(self) -> tuple[gr.Chatbot, gr.Textbox, gr.Audio]:
212
+ """
213
+ Add interactive components (buttons, inputs, and chatbot UI) to the interface.
214
+
215
+ Returns:
216
+ tuple: A tuple containing the components for the chatbot interface.
217
+ """
218
+ chatbot = gr.Chatbot(
219
+ self.chat_history, type="messages", height=600, show_label=False, avatar_images=(None, SINAPSIS_AVATAR)
220
+ )
221
+ chat_input = gr.Textbox(
222
+ interactive=True,
223
+ placeholder="Enter a message",
224
+ show_label=False,
225
+ )
226
+
227
+ audio_input = gr.Audio(
228
+ sources=["microphone"],
229
+ type="filepath",
230
+ label="Record Audio",
231
+ interactive=True,
232
+ )
233
+
234
+ return chatbot, chat_input, audio_input
235
+
236
+ def app_interface(self) -> None:
237
+ """
238
+ Define the core functionality of the chatbot, including initialization,
239
+ message handling, and user interaction.
240
+ """
241
+
242
+ conversation_id = gr.State()
243
+ (
244
+ chatbot,
245
+ chat_input,
246
+ audio_input,
247
+ ) = self.add_app_components()
248
+
249
+ clear_btn = gr.ClearButton([audio_input, chat_input, chatbot, conversation_id])
250
+ clear_btn.click(self._clear_history, inputs=[], outputs=[])
251
+
252
+ audio_input.stop_recording(
253
+ self.process_msg,
254
+ inputs=[audio_input, conversation_id],
255
+ outputs=[chatbot, chat_input, audio_input, conversation_id],
256
+ )
257
+ chat_input.submit(
258
+ self.process_msg,
259
+ inputs=[chat_input, conversation_id],
260
+ outputs=[chatbot, chat_input, audio_input, conversation_id],
261
+ )
262
+
263
+ finish_chatbot = gr.Button(value="Finish chatbot", elem_id="finish-button", variant="primary")
264
+ finish_chatbot.click(
265
+ self.stop_agent,
266
+ inputs=[],
267
+ outputs=[chat_input, audio_input],
268
+ )
269
+
270
+ def __call__(self) -> gr.Blocks:
271
+ with gr.Blocks(css=css_header()) as chatbot_interface:
272
+ add_logo_and_title(self.app_title)
273
+ self.app_interface()
274
+ return chatbot_interface
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: sinapsis
3
- Version: 0.1.1
3
+ Version: 0.2.1
4
4
  Summary: Modular and Universal AI platform
5
5
  Author-email: SinapsisAI <dev@sinapsis.tech>
6
6
  License: GNU AFFERO GENERAL PUBLIC LICENSE
@@ -665,11 +665,17 @@ License: GNU AFFERO GENERAL PUBLIC LICENSE
665
665
  For more information on this, and how to apply and follow the GNU AGPL, see
666
666
  <https://www.gnu.org/licenses/>.
667
667
 
668
+ Project-URL: Homepage, https://sinapsis.tech
669
+ Project-URL: Documentation, https://docs.sinapsis.tech/docs
670
+ Project-URL: Tutorials, https://docs.sinapsis.tech/tutorials
671
+ Project-URL: Repository, https://github.com/Sinapsis-AI/sinapsis.git
668
672
  Requires-Python: >=3.10
669
673
  Description-Content-Type: text/markdown
674
+ License-File: LICENSE
670
675
  Requires-Dist: sinapsis-core>=0.1.0
671
676
  Provides-Extra: all
672
677
  Requires-Dist: sinapsis[dev]; extra == "all"
678
+ Dynamic: license-file
673
679
 
674
680
  <h1 align="center">
675
681
  <br>
@@ -718,11 +724,11 @@ If you need to install <code>uv</code> please see the [official documentation](h
718
724
 
719
725
  Example with <code>uv</code>:
720
726
  ```bash
721
- uv pip install sinapsis
727
+ uv pip install sinapsis --extra-index-url https://pypi.sinapsis.tech
722
728
  ```
723
729
  or with raw <code>pip</code>:
724
730
  ```bash
725
- pip install sinapsis
731
+ pip install sinapsis --extra-index-url https://pypi.sinapsis.tech
726
732
  ```
727
733
 
728
734
 
@@ -845,6 +851,7 @@ sinapsis run my_test_agent.yml
845
851
 
846
852
  - Data Validation and Type Safety through Pydantic
847
853
  - YAML-based configuration files
854
+ - Command Line Interface
848
855
  </details>
849
856
 
850
857
  <h2 id="examples">👀 Examples</h2>
@@ -1,14 +1,6 @@
1
- .dockerignore
2
- .gitignore
3
- .pre-commit-config.yaml
4
- .python-version
5
1
  LICENSE
6
- README-internal.md
7
2
  README.md
8
3
  pyproject.toml
9
- uv.lock
10
- docker/Dockerfile
11
- docker/compose.yaml
12
4
  src/sinapsis/__init__.py
13
5
  src/sinapsis.egg-info/PKG-INFO
14
6
  src/sinapsis.egg-info/SOURCES.txt
@@ -17,10 +9,10 @@ src/sinapsis.egg-info/entry_points.txt
17
9
  src/sinapsis.egg-info/requires.txt
18
10
  src/sinapsis.egg-info/top_level.txt
19
11
  src/sinapsis/bin/sinapsis_cli.py
20
- src/sinapsis/configs/hello_world_agent.yml
21
12
  src/sinapsis/templates/__init__.py
22
13
  src/sinapsis/templates/display_hello_world.py
23
14
  src/sinapsis/templates/hello_world.py
24
15
  src/sinapsis/webapp/__init__.py
25
16
  src/sinapsis/webapp/agent_gradio_helper.py
26
- src/sinapsis/webapp/agent_webapp_utils.py
17
+ src/sinapsis/webapp/agent_webapp_utils.py
18
+ src/sinapsis/webapp/chatbot_base.py
@@ -1 +0,0 @@
1
- .venv
sinapsis-0.1.1/.gitignore DELETED
@@ -1,49 +0,0 @@
1
- # Byte-compiled / optimized / DLL files
2
- __pycache__/
3
- *.py[cod]
4
- *$py.class
5
-
6
- # Distribution / packaging
7
- .Python
8
- build/
9
- develop-eggs/
10
- dist/
11
- downloads/
12
- eggs/
13
- .eggs/
14
- lib/
15
- lib64/
16
- parts/
17
- sdist/
18
- var/
19
- wheels/
20
- share/python-wheels/
21
- *.egg-info/
22
- .installed.cfg
23
- *.egg
24
- MANIFEST
25
-
26
-
27
- .pdm.toml
28
- .pdm-python
29
- .pdm-build/
30
-
31
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
32
- __pypackages__/
33
-
34
- # Environments
35
- .env
36
- .venv
37
- env/
38
- venv/
39
- ENV/
40
- env.bak/
41
- venv.bak/
42
-
43
- # mypy
44
- .mypy_cache/
45
- .dmypy.json
46
- dmypy.json
47
-
48
- artifacts/*
49
- .vscode/*
@@ -1,46 +0,0 @@
1
- fail_fast: True
2
-
3
- repos:
4
- - repo: https://github.com/pre-commit/pre-commit-hooks
5
- rev: v5.0.0
6
- hooks:
7
- - id: fix-encoding-pragma
8
- exclude: 'docs/.*'
9
- - id: check-yaml
10
- exclude: 'docs/.*'
11
- - id: trailing-whitespace
12
- exclude: 'docs/.*'
13
- - id: name-tests-test
14
- args: ["--pytest-test-first"]
15
- exclude: 'docs/.*'
16
- - id: check-added-large-files
17
- args: ["--maxkb=10"]
18
- - id: check-docstring-first
19
- exclude: 'docs/.*'
20
- - id: check-case-conflict
21
- exclude: 'docs/.*'
22
- - id: check-shebang-scripts-are-executable
23
- exclude: 'docs/.*'
24
-
25
- - repo: https://github.com/gitleaks/gitleaks
26
- rev: v8.16.1
27
- hooks:
28
- - id: gitleaks
29
- exclude: '.*/tests/.*'
30
-
31
- - repo: https://github.com/astral-sh/ruff-pre-commit
32
- rev: v0.9.3
33
- hooks:
34
- - id: ruff
35
- - id: ruff-format
36
-
37
- - repo: https://github.com/pre-commit/mirrors-mypy
38
- rev: v1.14.1
39
- hooks:
40
- - id: mypy
41
- name: mypy
42
- entry: mypy
43
- language: python
44
- types: [python]
45
- additional_dependencies:
46
- - "pydantic>=2.8.2"
@@ -1 +0,0 @@
1
- 3.10.12