JacobDomagala / StaticAnalysis

GitHub action performs static analysis on C++/Python code, flags issues, and posts comments directly on PRs.
MIT License
29 stars 10 forks source link

runpy - potential for unpredictable behavior? #121

Open eljonny opened 2 months ago

eljonny commented 2 months ago

I see this in the workflow run output

<frozen runpy>:128: RuntimeWarning: 'src.static_analysis_cpp' found in sys.modules after import of package 'src', but prior to execution of 'src.static_analysis_cpp'; this may result in unpredictable behaviour

Here's the workflow run where it appears: https://github.com/eljonny/TestCPP/actions/runs/8916200432/job/24487180512

I don't know if this is an actual issue, or whether or not you have checked it out.

Just an observation.

Thanks so much for this task, it has been really helpful for my project!

JacobDomagala commented 2 months ago

Didn't notice the error before, will investigate :eyes:

Thanks!