FS#75705 - [python-black] black and blackd missing completion script for bash/zsh/fish

Attached to Project: Community Packages
Opened by Wu Zhenyu (Freed) - Friday, 26 August 2022, 18:43 GMT
Last edited by Daniel M. Capella (polyzen) - Saturday, 27 August 2022, 20:28 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Daniel M. Capella (polyzen)
Maxim Baz (maximbaz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

python-black

```
_BLACK_COMPLETE=zsh_source black > /usr/share/zsh/site-functions/_black
_BLACKD_COMPLETE=zsh_source blackd > /usr/share/zsh/site-functions/_blackd
```

And bash/fish, too.

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Daniel M. Capella (polyzen)
Saturday, 27 August 2022, 20:28 GMT
Reason for closing:  Implemented
Additional comments about closing:  https://github.com/archlinux/svntogit-co mmunity/commit/fd74c3c42c4e1583369b83373 7eef40c77067823
Comment by Toolybird (Toolybird) - Friday, 26 August 2022, 21:47 GMT
> _BLACK_COMPLETE=zsh_source black > /usr/share/zsh/site-functions/_black

Could you please enlighten me where this method of generating shell completions is documented? Is the same technique used in some other Arch pkgs?
Comment by Daniel M. Capella (polyzen) - Saturday, 27 August 2022, 18:20 GMT Comment by Daniel M. Capella (polyzen) - Saturday, 27 August 2022, 20:24 GMT
This doesn't seem to work for blackd, the server spins up.
Comment by Daniel M. Capella (polyzen) - Saturday, 27 August 2022, 20:28 GMT

Loading...