ruff Questions
1
Solved
I work on a large project and I'd slowly like to enfore pydocstyle using ruff. However, many files will fail on e.g. D103 "undocumented public function". I'd like to start with enforcing ...
3
Solved
I have installed the Ruff extension and enabled it in VS Code, but it doesn't seem to be underlining my code at all and providing suggestions like my previous linters did.
I did a clean install of ...
Banneret asked 20/1 at 17:54
2
Solved
Trying ruff for the first time and I'm not being able to sort imports alphabetically, using default settings. According to docs ruff should be very similar to isort.
Here is a short example with un...
1
Solved
I'm using VSCode with the Ruff extension for linting and autoformat. I know the cost of unused imports but sometimes I just need to comment a line for a test and it's really bothering to see the as...
Foxe asked 4/4 at 8:38
2
Solved
I was trying ruff linter. I have a file structure like below
project_folder
├── env # Python enviroment [python -m venv env]
│ ├── Include
│ ├── Lib
│ ├── Scripts
│ ├── ...
├── __init__.py
└── numb...
1
Solved
I often work in very small projects which do not have config file. How do I use ruff in place of isort to sort the imports? I know that the following command is roughly equivalent to black:
ruff fo...
2
Solved
I have a python project and I am configuring latest version of ruff for that project for linting and formating purpose. I have the below settings in my pyproject.toml file:
[tool.ruff]
select = [&q...
Bianka asked 26/7, 2023 at 13:32
1
Solved
I am using Ruff, a formatter or linter tool for Python code.
I want to ignore some specific rules, and to write that config in pyproject.toml.
My package structure is as follows.
.
├── LICENSE
├── ...
0
I was recently introduced to Ruff a python linter. I have an existing directory with lots of files. I thought to try it out and made a pyproject.toml file in the directory. I want to set the line-l...
Ridicule asked 26/7, 2023 at 20:30
1
© 2022 - 2024 — McMap. All rights reserved.