feat: create requirements-txt linter #305
Annotations
1 error and 4 warnings
|
requirements-test.txt#L1
Run `lintrunner -a` to apply this patch.
|
lintrunner_adapters/adapters/requirements_txt_linter.py#L46
Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
See [no-else-return](https://pylint.pycqa.org/en/latest/user_guide/messages/refactor/no-else-return.html).
To disable, use ` # pylint: disable=no-else-return`
|
lintrunner_adapters/adapters/requirements_txt_linter.py#L83
Do not use `len(SEQUENCE)` without comparison to determine if a sequence is empty (use-implicit-booleaness-not-len)
See [use-implicit-booleaness-not-len](https://pylint.pycqa.org/en/latest/user_guide/messages/convention/use-implicit-booleaness-not-len.html).
To disable, use ` # pylint: disable=use-implicit-booleaness-not-len`
|
.lintrunner.toml#L1
Run `lintrunner -a` to apply this patch.
|
The logs for this run have expired and are no longer available.
Loading