-
```console
$ ruff --version
ruff 0.1.13
```
1. clone [`nerfstudio`](https://github.com/nerfstudio-project/nerfstudio).
2. Use this `ruff` config:
```toml
[tool.ruff]
line-length = 120
s…
-
I have a set of import statements from a single package with one using an `as` statement. The correct sorting of the import statements is as below.
```python
from my.package.channel import (
…
-
Repro:
```
mkdir ruff_isort_repro
cd ruff_isort_repro
python -m venv .venv
. .venv/bin/activate
pip install ruff
mkdir schema
echo '{}' > schema/example-json-schema.json
mkdir example_pac…
-
Not sure what I did wrong here. My Python version is 3.11.5/Conda version 23.7.4, finished pip installing the formatter and the black isort then tried to format my code.
Thanks!
![Jupyterlab Li…
-
I love isort and probably run it hundreds of times a day. It standardizes all of my imports so I never have to think about them.
One pain point I have is that I would like to standardize the impor…
-
name: lint_python
on: [pull_request, push]
jobs:
lint_python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
py…
-
It would be useful if the generated header comment would contain the version of the plugin, e.g.
```python
"""
@generated by mypy-protobuf 3.3.0/libprotoc 3.19.5. Do not edit manually!
isort:skip…
-
> This one is optional, but we should be using static analysis and linter tools to have a better codebase. A popular stack is: mypy, black, ruff, and isort. We can make use of these tools.
-
I was looking over our [contributing guide](https://pystatgen.github.io/sgkit/latest/contributing.html) while setting up another project and realized we are not yet using [Ruff](https://github.com/cha…
-
It appears as though `markdown-link-check` fails to resolve https://en.wikipedia.org/wiki/TLA%2B - it continually gets a 400 response.
An example in CI: https://github.com/tendermint/tendermint/run…