-
Although isort recognizes first party under settings file, isort is called with config file under `/tmp/` in pysen.
So, the results of `pysen run format` and `pysen generate && isort --settings-file=…
-
Update isort to >5.0 https://pycqa.github.io/isort/CHANGELOG/#500-penny-july-4-2020
+ [ ] `pre-commit-config.yaml`
+ [ ] `pyproject.toml` (`.isort.cfg`?)
-
no reason it can't install dependencies instead of just search for them.
-
Isort cannot handle line magic in jupyter notebook
For example, having a cell with `%matplotlib widget` will cause isort to return:
```
Syntax error in code: Traceback (most recent call last): Fi…
-
Now we are using ruff, the idea is that we add more rules to ruff linter in separate PRs since there are a lot of fixes to do (maybe create a separate issues for that) . e.g.,
```toml
select = [
…
-
Found in version 5.12.0 of isort from solving https://github.com/Zac-HD/shed/pull/94
Multiline import will automatically be put in one line.
Here is an example:
```
from os import (
waitp…
-
**Which configuration?**
Type (custom or builtin): builtin
Filetype: python
Formatter: isort
Configuration(s) (post all the variants you tried):
```
require('formatter').setup(
…
-
Example -- nautobot core ruff settings:
```toml
[tool.ruff.lint]
select = [
"DJ", # flake8-django
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"PIE", # flake8-pie…
-
There is no information in the documentation about the default black parameters
Does not exists info - https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#exclude
Isort ha…
-
As part of #398 I've added disabled calls to flake8 including a commented-out installation of the flake8-black and flake8-isort plugins.
I would suggest to run black and isort once over the code ba…