Or4cl3AI / GitBotAI-2.0

https://git-bot-ai-2-0.vercel.app
2 stars 0 forks source link

fix dangerous default argument #31

Closed deepsource-autofix[bot] closed 1 year ago

deepsource-autofix[bot] commented 1 year ago

Do not use a mutable like list or dictionary as a default value to an argument. Python’s default arguments are evaluated once when the function is defined. Using a mutable default argument and mutating it will mutate that object for all future calls to the function as well.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
git-bot-ai-2-0 ❌ Failed (Inspect) Aug 1, 2023 8:53pm
git-bot-ai-2-0-ge8u ❌ Failed (Inspect) Aug 1, 2023 8:53pm
git-bot-ai-2-0-giud ❌ Failed (Inspect) Aug 1, 2023 8:53pm