-
The cookiecutter template puts the configuration for `coverage`, `flake8`, and `yapf` in `setup.cfg`.
However, `setup.cfg` is traditionally the `setuptools` config file. `setuptools` traditionally …
-
### Prerequisite
- [X] I have searched [Issues](https://github.com/open-mmlab/mmdetection3d/issues) and [Discussions](https://github.com/open-mmlab/mmdetection3d/discussions) but cannot get the expec…
-
I understand that modifiying the token stream is generally discourage and otherwise nasty buisness in this project.
ex: **"Please manage commas"**: https://github.com/google/yapf/issues/274
There …
-
I just read this article: http://journal.stuffwithstuff.com/2015/09/08/the-hardest-program-ive-ever-written/
The dart formatter uses a simple heuristic to know when to (or not to) reformat data struc…
-
these options should be used:
--style='{based_on_style: pep8, indent_width: 4, column_limit:175}'
-
`# yapf: disable` does not preserve the indent width of the code to not be formatted, and applies `indent_width` instead. For example, in a python file using an indent of two spaces, `yapf` outputs a …
-
D:>yapf d:\测试\a.py
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 174, in run_module_as_main
"main", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in…
-
trying this repo on colab
**Runtime** : Colab T4 GPU Runtime.
**Python 3.10.12**
**default packages on colab:**
**pytorch and cuda version:**
import torch
print(torch.__version__)
**_2.1.…
-
$ yapf 404.py
yapf: Input filenames did not match any python files # good!
$ yapf -i exists.py 404.py
exit code == 0 # bad :(
expected:
$ yapf -i exists.py 404.py
stderr>>"yapf: Input argument …
-
~~**Note**: Originally copied / imported from https://github.com/web-platform-tests/wpt/issues/42710. We'll keep the other bug open to track the implementation side of this FR.~~
So long as we do n…