We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using version 8.4.1 and have copied the configuration from the documentation to pyproject.toml:
> cat pyproject.toml [tool.pylama.linter.pycodestyle] max_line_length = 120 [tool.pylama.linter.pylint] max_line_length = 120
I do not have another config file e.g. pylama.ini But when I call pylama it still has a max_line_length of 100 and not 120:
> pylama -v foo
Namespace(paths=['foo'], verbose=True, options=None, linters=['pyflakes', 'mccabe', 'pycodestyle'], from_stdin=False, concurrent=False, format='pycodestyle', abspath=False, max_line_length=100, select=set(), ignore=set(), skip=[], sort=None, report=None, hook=False, max_complexity=10, pydocstyle_convention=None, file_params={}, linters_params={})
Only if I call it like this it gets set to 120:
> pylama -v --max-line-length=120 foo
Namespace(paths=['foo'], verbose=True, options=None, linters=['mccabe', 'pyflakes', 'pycodestyle'], from_stdin=False, concurrent=False, format='pycodestyle', abspath=False, max_line_length=120, select=set(), ignore=set(), skip=[], sort=None, report=None, hook=False, max_complexity=10, pydocstyle_convention=None, file_params={}, linters_params={})
Where am I going wrong?
The text was updated successfully, but these errors were encountered:
It doesn't work via pre-commit, but works directly.
pre-commit
Sorry, something went wrong.
No branches or pull requests
I'm using version 8.4.1 and have copied the configuration from the documentation to pyproject.toml:
I do not have another config file e.g. pylama.ini
But when I call pylama it still has a max_line_length of 100 and not 120:
> pylama -v foo
Namespace(paths=['foo'], verbose=True, options=None, linters=['pyflakes', 'mccabe', 'pycodestyle'], from_stdin=False, concurrent=False, format='pycodestyle', abspath=False, max_line_length=100, select=set(), ignore=set(), skip=[], sort=None, report=None, hook=False, max_complexity=10, pydocstyle_convention=None, file_params={}, linters_params={})
Only if I call it like this it gets set to 120:
> pylama -v --max-line-length=120 foo
Namespace(paths=['foo'], verbose=True, options=None, linters=['mccabe', 'pyflakes', 'pycodestyle'], from_stdin=False, concurrent=False, format='pycodestyle', abspath=False, max_line_length=120, select=set(), ignore=set(), skip=[], sort=None, report=None, hook=False, max_complexity=10, pydocstyle_convention=None, file_params={}, linters_params={})
Where am I going wrong?
The text was updated successfully, but these errors were encountered: