Hi Hong, I am attempting to deploy .editorconfig to my work repository where its the build process involves execution of multiple scripts, including Pylint. Pylint internally uses isort, and isort finds the .editorconfig file during its config file discovery step. This results in exception from isort and eventually, failure of the build process.
Essentially, the issue is a combination of 1) the format of EditoConfig (specifically, "root" has to be at the global section), 2) the fact that isort cannot handle the format, and 3) I cannot find reasonable way to change the build script to avoid 2). The only option I seem to have is to find workaround by playing with 1). Not using the "root" property is the obvious answer, but also wondered if anyone here had the same issue and/or can think of a way to specify "root" under some section. I did not find any mention about isort in this mailing list, so I understand it might not known to anyone here, and also, there might not be any workaround I can make purely with tweaking contents of .editorconfig, but I figured I can ask experts here. Best, Satoshi On Friday, 21 December 2018 12:57:50 UTC-8, Hong Xu wrote: > > On 12/21/18 9:43 AM, Satoshi Tanda wrote: > > Hi, > > > > I am having a hard time to deply .editorconfig for my work project, due > > to the issue where the isort python library fails to handle the "root" > > due to it not being under any section. > > https://github.com/timothycrosley/isort/issues/680 > > > > I am aware of that this is not this project's issue at at all, but am > > desperately looking for workaround, because the issue has not been taken > > care of by the author of the library for almost a year. If any of you > > here has any ideas on workaround this, please let me know. > > > > The obvious idea is not to use the root property, but I would like to > > avoid this where possible. > > > > Thank you for your help. > > > > Hi Satoshi, > > Can you elaborate more? I'm very confused: Why is isort relevant? Which > editor are you using? > > Hong > > -- You received this message because you are subscribed to the Google Groups "EditorConfig" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/editorconfig. For more options, visit https://groups.google.com/d/optout.
