-
I've tried the examples of isort breaking code that are given here and it doesn't seem like any of those are broken by isort:
https://usort.readthedocs.io/en/latest/why.html#comparison-to-isort
Ba…
-
I noticed that [`isort` is used for classifying imports](https://github.com/iterative/mlem/blob/59367659466114093a23fea77d24b5d0e609d05c/mlem/utils/module.py#L183-L202), which is something `isort` can…
-
I noticed that pre-commit was running slowly on a minor change. I've recently checked out [Ruff](https://github.com/astral-sh/ruff), which claims "drop-in parity with [Flake8](https://docs.astral.sh/r…
-
coc-settings.json:
```json
{
"python.sortImports.path": "~/.local/bin/isort",
"python.formatting.blackPath": "~/.local/bin/black",
}
```
Vim command:
```vim
:CocCommand => python.sortI…
-
it gives this stack dump when trying to install:
```
$ gcam "test precommit"
[INFO] Installing environment for https://github.com/pycqa/isort.
[INFO] Once installed this environment will be reused…
-
Here are some suggestions to improve the developer experience:
### Dependency management
- [ ] Replace ``pipenv`` with something else #138
### Developer Tools
- [ ] Use [``pre-commit``](https:…
-
I'm testing with this Python file, both locally and on a server over TRAMP:
```python
import struct
import binascii
a = 'single quotes'
```
My config looks like this:
```elisp
(use-package…
-
Very similar to the issue described in https://github.com/astral-sh/ruff/issues/4348. I have a root dir with a file that looks a bit like:
proj/.ruff.toml:
>[lint.isort]
section-order = ["standar…
-
With #25 being merged soon, the question remains whether formatting should be enabled by default and error codes should be given to be auto-fixed when running formatting.
I don't really mind on or th…
-
The expected behavior of 'python-isort:sortImports' is that it runs on the current editor's contents, using isort to directly convert text.
eg:
> new_contents = SortImports(file_contents=old_c…
arl-o updated
7 years ago