Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Config.dump_userconfig return the same as config-write-py #4398

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lufte
Copy link
Member

@lufte lufte commented Oct 30, 2018

Fixes #4229

I had to move configfiles.ConfigPyWriter to avoid a circular import, and I renamed it since it's no longer in charge of writing a file but more of generating a string. I also replaced its write method with gen_lines.

There are a bunch of broken tests but I want you opinion on the aproach I took before fixing them.

PS: sorry about the overflow of pull requests, this is totally not related to these being the last days of Hacktoberfest 😄. Don't worry though, I'll write tests for all of them and update them as needed. I still have one more to go but I think I'll choose another project before you ban me for life 😂.


This change is Reviewable

@qutebrowser-bot qutebrowser-bot added status: needs review easy Issues which are likely to be a good fit for first-time contributors. priority: 2 - low Issues which are currently not very important. labels Oct 30, 2018
@The-Compiler The-Compiler added this to Low hanging fruit? in Pull request backlog Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy Issues which are likely to be a good fit for first-time contributors. priority: 2 - low Issues which are currently not very important.
Projects
Pull request backlog
  
Low hanging fruit?
Development

Successfully merging this pull request may close these issues.

Output config.py syntax in qute://configdiff
3 participants