peter-evans / autopep8

A GitHub action for autopep8, a tool that automatically formats Python code to conform to the PEP 8 style guide.
MIT License
84 stars 15 forks source link

The exclude option looks ineffective #63

Open Tyrben opened 2 years ago

Tyrben commented 2 years ago

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.

peter-evans commented 2 years ago

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.