Skip to content

Use return a, b instead of return (a, b) #6136

@nabenabe0928

Description

@nabenabe0928

Motivation

In Optuna, we use return a, b rather than return (a, b), so this issue is for more consistency among the codebase.

Note

Based on PEP8, we do not replace return (a, ) with return a,.

Suggestion

Please refactor each file below:

  • optuna/_gp/optim_mixed.py
  • optuna/storages/_rdb/models.py
  • optuna/storages/_rdb/alembic/versions/v3.0.0.c.py
  • optuna/storages/_rdb/alembic/versions/v3.0.0.d.py
  • optuna/visualization/_terminator_improvement.py
  • tests/trial_tests/test_trial.py

Important

Please modify only one file per PR to encourage contributions from more contributors.

Additional context (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    code-fixChange that does not change the behavior, such as code refactoring.contribution-welcomeIssue that welcomes contribution.good first issueGood first issue for contribution.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions