klen / pylama

Code audit tool for python.
MIT License
1.05k stars 99 forks source link

Options for a group of files in a folder not working #237

Open GabrielEHT opened 1 year ago

GabrielEHT commented 1 year ago

Hi, I'm trying to set special options for a group of files in a folder:

[pylama]
max_line_length = 79
linters = pylint, radon

[pylama:*/tests/*]
max_line_length = 100

But when I run pylama it still applies the configuration from the global section. I have also tried setting this option just for a specific file:

[pylama:*/tests/unit/mytest.py]
max_line_length = 100

But it didn't work, I also tried using other options such as disable = C0114 or skip = 1, and they didn't work neither.