LXML Options (indent size) #145
jtsage
started this conversation in
Ideas & Feature Requests
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This have got to be one of the most peculiar requests I've gotten 😆 But actually as it is now, lxml isn't needed anymore. The current implementation I am working with doesn't use it after python has finally given the built in library it deserves 😉 It now has the function |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I know, this is just picky, and yes, vscode lets me reflow the document. But if someday we could have a subset of options for lxml exposed - namely indent size -
https://stackoverflow.com/questions/1238988/changing-the-default-indentation-of-etree-tostring-in-lxml
I do prefer 4 spaces to the default 2. Well, really, I prefer tabs like a not-crazy person, but most of the stuff I pull from the modhub is 4 spaces, so I am willing to follow suit.
Beta Was this translation helpful? Give feedback.
All reactions