Skip to content

fix: adds settings reset logic#249

Open
Kilka0s0Tomatami wants to merge 1 commit intoOSLL:mainfrom
Kilka0s0Tomatami:feature
Open

fix: adds settings reset logic#249
Kilka0s0Tomatami wants to merge 1 commit intoOSLL:mainfrom
Kilka0s0Tomatami:feature

Conversation

@Kilka0s0Tomatami
Copy link
Copy Markdown

No description provided.

@Kilka0s0Tomatami
Copy link
Copy Markdown
Author

Добрый день!
Добавил пулл-реквест для возможности обсуждения

@Artanias Artanias linked an issue Mar 11, 2026 that may be closed by this pull request
@Artanias Artanias added the bug Something isn't working label Mar 11, 2026

write_settings_conf(settings_config)

def settings_reset(key: str) -> ExitCode:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Хотелось бы по возможности отделаться только settings_modify, почему решено разделить на reset?

from codeplag.types import ExitCode, ReportType


class CodeplagEngine:
Copy link
Copy Markdown
Collaborator

@Artanias Artanias Mar 11, 2026

Choose a reason for hiding this comment

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

Это изменение не должно было сюда попасть.

Copy link
Copy Markdown
Collaborator

@Artanias Artanias left a comment

Choose a reason for hiding this comment

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

Мои комментарии выше. Также не хватает автотестов.

@Artanias Artanias changed the title add reset func fix: adds reset func Mar 23, 2026
@Artanias Artanias changed the title fix: adds reset func fix: adds settings reset logic Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't unset reports path when set

2 participants