discussion and development of Emacs Snakemake mode
 help / color / mirror / code / Atom feed
From: Endre Bakken Stovner <notifications@github.com>
To: kyleam/snakemake-mode <snakemake-mode@noreply.github.com>
Cc: Kyle Meyer <kyle@kyleam.com>, Comment <comment@noreply.github.com>
Subject: Re: yapf for snakefiles (#18)
Date: Sat, 09 Jul 2016 04:18:19 -0700	[thread overview]
Message-ID: <kyleam/snakemake-mode/issues/18/231529359@github.com> (raw)
In-Reply-To: <kyleam/snakemake-mode/issues/18@github.com>

[-- Attachment #1: Type: text/plain, Size: 724 bytes --]

It seems harder to extend yapf than to implement my hackish proposal.

But I guess I could create my own Python script which 1) does the transformation, 2) calls yapf and then 3) translates the code into snakemake again.

I should have been clearer about why I posted this here. I was wondering about whether you might accept a PR for such a formatter if I write it. I doubt the yapf projects would be interested in PRs to support a relatively obscure DSL.

Anyways, will be sometime in the future so that I can use and tweak it myself for a while.

You are receiving this because you commented.
Reply to this email directly or view it on GitHub:

[-- Attachment #2: Type: text/html, Size: 1506 bytes --]

  parent reply	other threads:[~2016-07-09 11:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-08  7:41 Endre Bakken Stovner
2016-07-08  8:03 ` Endre Bakken Stovner
2020-04-14  2:10   ` Kyle Meyer
2016-07-09 11:18 ` Endre Bakken Stovner [this message]
2020-04-14  2:11   ` Kyle Meyer
2016-10-21 21:30 ` Kyle Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://git.kyleam.com/snakemake-mode

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=kyleam/snakemake-mode/issues/18/231529359@github.com \
    --to=notifications@github.com \
    --cc=comment@noreply.github.com \
    --cc=kyle@kyleam.com \
    --cc=reply+0013cd7cbfb8673e8b8989556bd09768ba9339f871ca187e92cf0000000113989f7b92a169ce09cdb427@reply.github.com \
    --cc=snakemake-mode@noreply.github.com \
    --subject='Re: yapf for snakefiles (#18)' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).