Skip to content

Commit e6da879

Browse files
Add pylint disables and update dependencies versions
This commit introduces various `pylint: disable` statements to suppress specific warnings in multiple files. Additionally, it updates the dependency versions in `pyproject.toml` and simplifies metadata in `uv.lock` by removing redundant upload-time information from package entries. These changes aim to enhance code clarity and ensure compatibility with updated libraries. Signed-off-by: dnandakumar-nv <[email protected]>
1 parent a46457f commit e6da879

File tree

14 files changed

+1688
-1677
lines changed

14 files changed

+1688
-1677
lines changed

packages/nvidia_nat_agno/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies = [
2222
"nvidia-nat~=1.2",
2323
"agno~=1.2.3",
2424
"openai~=1.66",
25-
"google-search-results~=2.3.0",
25+
"google-search-results~=2.4.2",
2626
]
2727
requires-python = ">=3.11,<3.13"
2828
readme = "src/aiq/meta/pypi.md"

packages/nvidia_nat_agno/src/aiq/plugins/agno/llm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15+
# pylint: disable=unused-argument
1516

1617
import os
1718

packages/nvidia_nat_agno/tests/test_llm_agno.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15+
# pylint: disable=unused-argument, not-async-context-manager
1516

1617
import os
1718
from unittest.mock import MagicMock

packages/nvidia_nat_crewai/src/aiq/plugins/crewai/llm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15+
# pylint: disable=unused-argument
1516

1617
import os
1718

packages/nvidia_nat_crewai/tests/test_llm_crewai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
"""Unit tests for CrewAI LLM client wrappers."""
15+
# pylint: disable=unused-argument, not-async-context-manager
1616

1717
import os
1818
from unittest.mock import MagicMock

packages/nvidia_nat_langchain/src/aiq/plugins/langchain/llm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15+
# pylint: disable=unused-argument
1516

1617
import logging
1718

packages/nvidia_nat_langchain/tests/test_llm_langchain.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15+
# pylint: disable=unused-argument, not-async-context-manager
1516

1617
import logging
1718
from unittest.mock import MagicMock

packages/nvidia_nat_llama_index/src/aiq/plugins/llama_index/llm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15+
# pylint: disable=unused-argument
1516

1617
from aiq.builder.builder import Builder
1718
from aiq.builder.framework_enum import LLMFrameworkEnum

packages/nvidia_nat_llama_index/tests/test_llm_llama_index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15+
# pylint: disable=unused-argument, not-async-context-manager
1516

1617
from unittest.mock import MagicMock
1718
from unittest.mock import patch

packages/nvidia_nat_semantic_kernel/src/aiq/plugins/semantic_kernel/llm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15+
# pylint: disable=unused-argument
1516

1617
from aiq.builder.builder import Builder
1718
from aiq.builder.framework_enum import LLMFrameworkEnum

0 commit comments

Comments
 (0)