Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GabrielEHT opened this issue Feb 14, 2023 · 0 comments
Open

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

GabrielEHT opened this issue Feb 14, 2023 · 0 comments

Comments

@GabrielEHT
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant