autopep8 icon indicating copy to clipboard operation
autopep8 copied to clipboard

The exclude option looks ineffective

Open Tyrben opened this issue 2 years ago • 1 comments

Maybe I miss the proper syntax, but this next one wont exclude any subdirectory

uses: peter-evans/autopep8@v1
with:
  args: --recursive --diff --aggressive --aggressive --exclude="vendor" .

vendor is a subdirectory containing external thirdParty python sources. Some of them are not pep8 conformant. I don't want to know or fix it.

Tyrben avatar Feb 17 '22 15:02 Tyrben

Hi @Tyrben

I don't know what the problem is, but it might be because of the double quotes (") around vendor. Try removing them or escaping.

peter-evans avatar Feb 18 '22 01:02 peter-evans