-
## Description
When working in [Multi-root Workspaces in Visual Studio Code](https://code.visualstudio.com/docs/editor/multi-root-workspaces), whether `lint.per-file-ignores` takes effect depen…
-
When converting string literals to bytes literals, UP012 does not handle escape sequences that are only recognized in string literals. It should convert them to literal characters or to recognized esc…
-
**Describe the bug**
I am getting a `PD011` warning about accessing the `values` attribute of the `torch.Tensor.sort` return type `NamedTuple`.
**To Reproduce**
```toml
[tool.ruff.lint]
selec…
-
**Describe the bug**
Trying to package a multiarch Docker image fails with:
```
ERROR: docker exporter does not currently support exporting manifest lists
```
**Pants version**
2.21.0
**O…
-
See here:
https://github.com/posit-dev/positron/blob/d616da46bacac2bbc099382ad233322c0c929fd3/extensions/positron-python/python_files/.vscode/settings.json#L7
This is causing some diff noise dep…
wesm updated
2 months ago
-
Hi, team. Thanks for your hard work.
I noticed a change in how known-first-party imports get classified recently.
If I'm working on `my_namespace.a` project, I expect `my_namespace.b` to be classi…
-
It currently still works but has been [deprecated](https://github.com/PyCQA/pydocstyle/pull/658) in favor of [ruff](https://github.com/astral-sh/ruff). However as of https://github.com/astral-sh/ruff/…
-
My project ([cocotb](https://github.com/cocotb/cocotb)) will continue to support Python 3.6 for the foreseeable future. However ruff doesn't seem to respect this. With the following in pyporject.toml:…
-
I'm maintaining a codebase with multiple release branches targeting different Python versions by release. The latest one uses Python 3.12 while prior versions use Python 3.10 or 3.11.
The recent up…
-
Consider the following directory:
```
.
└── distutils
├── _log.py
└── _msvccompiler.py
```
with:
* **`distutils/_log.py`**
```python
import logging
log = logging.getLogger…