ipython / ipython/traitlets

generate_config_file: Writing empty sets

Open
#513 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
653
Forks
217
Avg merge
2d 21h
Merged PRs (30d)
2

Description

IMHO; empty sets should be written as `set([])` (not `set()`), since when you later add some values, it is easy to forget adding the `[]`. Yes, you can also use set literals, but then the existing `set()` does not nudge you into that direction.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.