llm icon indicating copy to clipboard operation
llm copied to clipboard

refactor: fix code misc. code quality issues

Open sanketsaurav opened this issue 1 month ago • 0 comments

Changes:

This PR fixes multiple occurrences of the following code quality issues found by DeepSource's Autofix™ AI on this project.

Issues:

  • Unnecessary use of dict()
  • Handle unguarded next()
  • Subsequent if statements which can be merged
  • Replace unused variables with _
  • Use f-strings instead of .format()
  • Unnecessary use of None default in os.environ.get()

sanketsaurav avatar May 08 '24 20:05 sanketsaurav