Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[RFC] scripts: Create script which checks Neovim with PVS-studio #6493
This variant suggests manual checks and has hardcoded version in one place. Example report: https://gist.github.com/ZyX-I/20cdeee0cd1812f85ce7afec7e909c82 (three files: I used different supported formats, yet it does not generate HTML reports).
PVS is pretty fast for an analyzer: script takes 2 minutes to run on my system and this includes compiling Neovim.
Script is here to check locally. I am unsure whether it would be right (legally and morally) to patch our sources with that comment on the fly only on CI, but script may be used to decide whether we need to include those comments in our sources and make bot-ci generate reports.