BrewPi/brewpi-tools

Remove from x import *

Closed this issue · 1 comments

Wildcard imports make the code hard to read.

from git import *
Repo()

is harder to read than

import git
git.Repo()

When importing parts of modules, make it explicit, so a reading can see where things come from at the top of the file:
from git import Repo

Maybe the imports should be excepted too, like in brewpi.py