-
I downloaded the vocab, config and pytorch-model files from the hug website, stored them in a new hub folder in mmdetection and added them to the configs/glip/glip_atss_swin-t_fpn_dyhead_16xb2_ms-2x_f…
-
Neoformat with `yapf` fails if Neoformat is run on a visual selection of a Python file that is itself not syntactically valid python.
### Working Example 1
For example:
```python
class SomeT…
-
### Prerequisite
- [X] I have searched [Issues](https://github.com/open-mmlab/mmcv/issues) and [Discussions](https://github.com/open-mmlab/mmcv/discussions) but cannot get the expected help.
- [X] Th…
-
![lQDPJwnImM2EG1PNA9HNBZWwYfJ35DfknH4G0rxzaoAeAA_1429_977](https://github.com/user-attachments/assets/6cf92b6f-662f-4e0e-a650-558c7f803c80)
-
# the config output tells me to report here
# Steps to reproduce
M-x elpy-config
# My configuration
## System:
Kernel: 6.8.0-45-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0 clockso…
-
yapf - Yet Another Python formatter.
Often run into bits of code where the formatting isn't PEP8 compliant, lots of indenting that isn't 4 spaces, and the like. It would be easier to read if it we…
-
What needs doing:
- [ ] add a hook in `.pre-commit-hooks.yaml`
- [ ] add an example in `docs/examples.rst`
- [ ] add dependency to `requirements-dev.txt`
- [ ] add a new test in `tests/tools` (s…
-
Hi, is this supported by yapf configuration if I want to prevent the function parameters from being indented twice in this case:
```python
if func(
a,
b,
):
pass
```
Output:
…
-
I have this installed and this is my settings.json:
When I type, formatting will start correcting my changes in a VERY annoying way. I love auto-format on save, but I would like to disable form…
-