messages and review your internet connection as network issues can prevent activation.
Extension crashes or freezes: Disable any conflicting extensions temporarily to see if they are causing conflicts with Sourcery. Common culprits include other AI-driven code analysis tools, older versions of Python language servers, or IDE-specific plugins that modify editor behavior.
No suggestions appear in the editor: Ensure your project is correctly configured with a .sourcery.yaml file and that it includes necessary paths and exclusions. Also, check if there are any specific files or directories excluded from analysis by default settings which might need to be overridden.
Custom rules not working as expected: Double-check the syntax of custom rule definitions in your .sourcery.yaml. Ensure patterns match exactly what you intend them to catch, and that conditions (if used) accurately reflect when a suggestion should apply. Test each rule individually if possible by isolating it from others.
Suggestion explanations are unclear or incorrect: If Sourcery's explanation for why a change is suggested does not make sense in context, this could be due to a misunderstanding of the specific codebase’s conventions. Engage with the chat assistant to get more tailored advice and help train Sourcery on what constitutes good practice within your project.
Read the full article at DEV Community
Want to create content about this topic? Use Nemati AI tools to generate articles, social posts, and more.

![[AINews] The Unreasonable Effectiveness of Closing the Loop](/_next/image?url=https%3A%2F%2Fmedia.nemati.ai%2Fmedia%2Fblog%2Fimages%2Farticles%2F600e22851bc7453b.webp&w=3840&q=75)



