-
- what are hooks
- how to manage
- my standard hooks
- configure flake8 and/or yapf (need to clean up first...)
- [ ] yapf version in conda yaml
-
Installing `print_dict` under Python 3.13 leads to the following error:
```raw
Traceback (most recent call last):
File "", line 1, in
import print_dict
File "/home/matz/.conda/envs/pytho…
-
yapf is broken, it doesn't support `async with` and is hard to disable on files that use it.
-
[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…
-
We currently format all Python code using `yapf`. This is done via the `tools/yapf.sh` and `tools/yapf.bat` wrapper scripts.
Unfortunately, `yapf` is abandoned and only works with Python versions …
-
### What is your suggestion?
As said by @dangotbanned in https://github.com/vega/altair/pull/3544#pullrequestreview-2409809909:
> yapf
>
> @mattijn I haven't looked into this in much detail yet, bu…
-
In general, it would be really cool if `py-yapf` could install `yapf` automatically on demand.
We could limit the side-effects of this operations by executing it in a virtual environment. This is a …
-
### Description
Change the pre-commit configuration from flake8/yapf to ruff.
Due to the massive number of changes, this should be done as the final change on `trunk-major` just prior to releasing…
-
I encountered a few issues when setting up the tools for pre-commit hooks on a recent brew:
* 'Modern' brew python does not have 'pip' only 'pip3'
* virtualenv and other yapf tools scripts hard re…
-
I'm modifying the acme codebase externally, but the YAPF auto-formatter I'm using keeps producing different formatting results, which is frustrating for me.
I am using yapf 0.32.0 (latest as of tod…