-
Fix one or more of the issues reported by Flake8.
This issue is not something which will be fixed by one PR. Instead, it serves as a pointer to the list of ignored warnings in the source code. Pick…
-
### 🐛 Describe the bug
Repro:
```python
import torch
from torch.nn.attention.flex_attention import (
_adjust_num_blocks_and_indices,
create_block_mask,
)
def mask_mod(b, h, q, kv):
…
-
Add GitHub actions for linting with flake8
-
Heya, I noticed that the majority of flake8 logging rules were ported thanks to the work done on here https://github.com/astral-sh/ruff/pull/2150, however I'm still missing G200 and am hoping it can b…
-
Currently we have a `.flake8`, a `setup.cfg` and a `pyproject.toml` with partially contradictory settings. These should all be in one place only and consistent.
-
This is a subtask of https://github.com/ray-project/ray/issues/47991. See the parent issue for more information.
https://www.flake8rules.com/rules/F811.html
-
Hello,
Reporting here, since flake8 seems to want this sort of problem delegated to you.
The following code uses await in a function that is declared without the async keyword, which is a syntax…
kpinc updated
1 month ago
-
## Describe the bug
A clear and concise description of what the bug is.
`files.put()` breaks when `dest` is a `pathlib.Path` instead of a string. I understand that a string is expected here, but t…
-
It's really nice to have a linter catch when you don't provide a timeout to a request call (`r2c-requests-use-timeout`).
Though I can't find it on GitHub, only on [PyPi](https://pypi.org/project/fl…
-
There's a lot of pylint warnings in CI.
In general pylint is a bit of a headache. Not sure how other alternatives stack up -- flake8 or black?