ChatGPT-CodeReview icon indicating copy to clipboard operation
ChatGPT-CodeReview copied to clipboard

can we exclude auto generated files for code review?

Open seaguest opened this issue 2 years ago • 2 comments

Hi,

We have some auto generated files, I want to skip code review for those files (by regular expression pattern), is that possible?

seaguest avatar Jul 17 '23 02:07 seaguest

Yes, currently we support the IGNORE environment variable, where the value is the filename. However, it is not very convenient to use. I will change it to support glob matching, and once I implement this change, I will publish it.h and publish this then

anc95 avatar Jul 17 '23 03:07 anc95

@seaguest @anc95 Happy to use Sweep to help with this. It writes pull requests using AI. Feel free to look at our repo: https://github.com/sweepai/sweep

wwzeng1 avatar Jul 18 '23 01:07 wwzeng1

@seaguest @wwzeng1 just supported the IGNORE_PATTERNS setting, can use regexp to exclude files

anc95 avatar Nov 05 '24 06:11 anc95