Skip to content

Commit

Permalink
Attempt to muffle PyLint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
RobBlackwell committed Jan 10, 2025
1 parent 92410fc commit e45172c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion anthropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from util import http_request, fatal, lookup_variable

# pylint: disable=broad-exception-caught, too-many-arguments
# pylint: disable=broad-exception-caught, too-many-arguments, too-many-positional-arguments


def ask_anthropic(model, url, api_key, messages, temperature, top_p, max_tokens):
Expand Down
2 changes: 1 addition & 1 deletion azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Azure OpenAI support for golem.
"""

# pylint: disable=broad-exception-caught, too-many-arguments, too-many-locals
# pylint: disable=broad-exception-caught, too-many-arguments, too-many-positional-arguments, too-many-locals

from util import http_request, fatal, lookup_variable

Expand Down
2 changes: 1 addition & 1 deletion azureai.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Azure AI support for golem
"""

# pylint: disable=broad-exception-caught, too-many-arguments, too-many-locals
# pylint: disable=broad-exception-caught, too-many-arguments, too-many-positional-arguments, too-many-locals

from util import http_request, fatal, lookup_variable

Expand Down
4 changes: 2 additions & 2 deletions golem.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Time-stamp: <2024-09-16 11:24:04 rblackwell>
# Time-stamp: <2025-01-10 13:46:35 rblackwell>

"""Golem
Expand All @@ -19,7 +19,7 @@
"""

# pylint: disable=too-many-arguments, broad-exception-caught, too-many-locals, too-many-branches, too-many-return-statements, global-statement, too-many-statements
# pylint: disable=too-many-arguments, broad-exception-caught, too-many-locals, too-many-branches, too-many-return-statements, global-statement, too-many-statements, too-many-positional-arguments


import argparse
Expand Down
2 changes: 1 addition & 1 deletion ollama.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Ollama support
"""

# pylint: disable=too-many-arguments, broad-exception-caught
# pylint: disable=too-many-arguments, too-many-positional-arguments, broad-exception-caught

from util import fatal, http_request

Expand Down
2 changes: 1 addition & 1 deletion openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from util import lookup_variable, http_request, fatal

# pylint: disable=broad-exception-caught, too-many-arguments, too-many-locals
# pylint: disable=broad-exception-caught, too-many-arguments, too-many-positional-arguments, too-many-locals


def ask_openai(
Expand Down
2 changes: 1 addition & 1 deletion vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Google Vertex support for Golem
"""

# pylint: disable=broad-exception-caught, too-many-arguments, too-many-locals, global-statement
# pylint: disable=broad-exception-caught, too-many-arguments, too-many-positional-arguments, too-many-locals, global-statement

import subprocess
import logging
Expand Down

0 comments on commit e45172c

Please sign in to comment.