Skip to content

feat(formatter): add YAPF and refactor#652

Merged
ouuan merged 7 commits intomasterfrom
yapf-2
Nov 10, 2020
Merged

feat(formatter): add YAPF and refactor#652
ouuan merged 7 commits intomasterfrom
yapf-2

Conversation

@ouuan
Copy link
Copy Markdown
Member

@ouuan ouuan commented Nov 1, 2020

Description

Better logic and code reuse than #640.

Related Issues / Pull Requests

This closes #640.

Motivation and Context

There are many duplicate codes in #640 and some logics including the verbose option are changed. There are also duplicate format code on save settings in #640.

How Has This Been Tested?

On Arch Linux.

Checklist

  • If the key of a setting is changed, the old attribute is updated or it is resolved in SettingsUpdater.
  • If there are changes of the text displayed in the UI, they are wrapped in tr() or QCoreApplication::translate().
  • If needed, I have opened a pull request or an issue to update the documentation.
  • If these changes are notable, they are documented in CHANGELOG.md.

Additional text

@IZOBRETATEL777 please update the translations.

Copy link
Copy Markdown
Member

@coder3101 coder3101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall nice design. I'll refactor some other things to confer to these standards.

@coder3101
Copy link
Copy Markdown
Member

You can update existing docs PR for these changes.

@ouuan ouuan requested a review from coder3101 November 1, 2020 09:52
@ouuan ouuan added awaiting for docs Associated PR required to update the docs in cpeditor.github.io awaiting for translation:RU Associated PR is waiting for russian translations to be updated labels Nov 1, 2020
@coder3101
Copy link
Copy Markdown
Member

I'll approve and merge when Russian translation are up to date. Meanwhile you can update the docs PR as well.

@ouuan ouuan removed the awaiting for docs Associated PR required to update the docs in cpeditor.github.io label Nov 1, 2020
@coder3101
Copy link
Copy Markdown
Member

@IZOBRETATEL777 please update the translations.

@coder3101
Copy link
Copy Markdown
Member

@Sadykhzadeh Please translate this and other PRs. It is ready, just awaiting russian translations.

@ouuan ouuan merged commit 7eb8b3f into master Nov 10, 2020
@ouuan ouuan deleted the yapf-2 branch November 10, 2020 02:26
@ouuan ouuan removed the awaiting for translation:RU Associated PR is waiting for russian translations to be updated label Dec 31, 2020
ouuan added a commit that referenced this pull request Jun 27, 2021
ouuan added a commit that referenced this pull request Jun 27, 2021
* fix: add suffix for Default File Path For Problem URLs

This was introduced in #652.

* docs: update changelog
ouuan added a commit that referenced this pull request Jul 22, 2021
* fix: add suffix for Default File Path For Problem URLs

This was introduced in #652.

* docs: update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants