From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 09 Jul 2016 04:18:19 -0700 From: Endre Bakken Stovner Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: yapf for snakefiles (#18) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5780dd7b46672_72a93fd3946692a012350bc"; charset=UTF-8 Content-Transfer-Encoding: 7bit List-ID: kyleam/snakemake-mode List-Archive: https://github.com/kyleam/snakemake-mode List-Post: List-Unsubscribe: , To: kyleam/snakemake-mode Cc: Kyle Meyer , Comment ----==_mimepart_5780dd7b46672_72a93fd3946692a012350bc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: https://github.com/kyleam/snakemake-mode/issues/18#issuecomment-231529359 ----==_mimepart_5780dd7b46672_72a93fd3946692a012350bc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

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, view it on GitHub, or mute the thread.

----==_mimepart_5780dd7b46672_72a93fd3946692a012350bc--