-
It is possible to make a file with a ` # noqa` comment which disables a `flake8` error, which YAPF will move so that the comment is no longer useful.
Install dependencies:
```console
$ pip ins…
-
Using both `yapf 0.21` and the current master (`8d90c204e8abecc59d8e9a6037782293f26fa7f8`), `yapf` formats the following function call:
```python
f(
long_function_name(16, g(lrotate) % 16),
…
-
### What happened?
I tried to follow [this documentation](https://cwiki.apache.org/confluence/display/BEAM/Python+Tips#PythonTips-LintandFormattingChecks) to be able to run the linter locally. The fo…
-
Hello,
I have executed the following commands for training purposes.
`python -m torch.distributed.run --nproc_per_node=1 --master_port=2333 tools/train.py rojects/configs/VAD/VAD_tiny_stage_1.py --…
-
As per your suggestion @d-ming, I would like to use pep8 (Style guide for python code) to ensure that the presentation in the AR-tools package is consistent. However, I can't figure out how to use it.…
-
Despite this simple config file:
```ini
[style]
based_on_style = pep8
split_before_arithmetic_operator = true
```
yapf splits **after** the operator, not before as it should:
```diff
% ~/.…
-
It would be awesome if there is a unified coding style defined by this community to make all source code in a same style.
The coding style can also be interpreted to .style.yapf file and parsed by …
-
Make yapf search search for the formatting style in the [yapf] section of a `tox.ini` file in either the current directory or one of its parent directories.
-
### Is your feature request related to a problem? Please describe.
_No response_
### Describe the solution you'd like
Changing from Black to Ruff will increase the speed of development and deployme…
-
[lessons-conventions-lint]: http://github-pages.ucl.ac.uk/rsd-engineeringcourse/ch05construction/02conventions.html#Lint
[yapf]: https://github.com/google/yapf
[black]: https://black.readthedocs.i…