OCA / oca-addons-repo-template

OCA Repository Template
MIT License
61 stars 89 forks source link

Ignore test files in linters #240

Closed tuantrantg closed 8 months ago

tuantrantg commented 9 months ago

Could you please explain the motivation behind this PR?

hi @yajo thanks for asking. I'm doing some modules that need XML / text files to run unitest and pre-commit beautifies XML / text files and I want to prevent to do this

simahawk commented 9 months ago

Could you please explain the motivation behind this PR?

Example: you get an example file (xml maybe) from an official doc/example and you want to respect the original. There's no reason to re-format it. And it's optional in any case.

tuantrantg commented 9 months ago

hello @pedrobaeza @carmenbianca @simahawk @yajo I finally updated this to /tests/samples

simahawk commented 8 months ago

@yajo fine for you?