mirror of
https://github.com/ruuda/rcl.git
synced 2025-10-08 16:10:24 +00:00
Implement magic trailing comma for collections
This gives users a bit more control over whether things get formatted wide or tall. This matters in practice, as Black learned the hard way, and I did as well in the GitHub Actions example.
This commit is contained in:
parent
054d998e33
commit
b0a44ec583
6 changed files with 204 additions and 31 deletions
|
@ -1,13 +1,19 @@
|
|||
{
|
||||
name = "Build",
|
||||
|
||||
on = { push = { branches = ["master"] }, workflow_dispatch = {} },
|
||||
on = {
|
||||
push = { branches = ["master"] },
|
||||
workflow_dispatch = {},
|
||||
},
|
||||
|
||||
jobs = {
|
||||
"Build": {
|
||||
runs-on = "ubuntu-22.04",
|
||||
steps = [
|
||||
{ name = "Checkout", uses = "actions/checkout@v3.5.3" },
|
||||
{
|
||||
name = "Checkout",
|
||||
uses = "actions/checkout@v3.5.3",
|
||||
},
|
||||
{
|
||||
name = "Install Nix",
|
||||
uses = "cachix/install-nix-action@v18",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue