Skip to content

Commit

Permalink
fixing flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
piskvorky committed Oct 1, 2020
1 parent 70d4338 commit 0936e45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gensim/models/doc2vec.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

from gensim import utils, matutils # utility fnc for pickling, common scipy operations etc
from gensim.utils import deprecated
from gensim.models import Word2Vec, FAST_VERSION
from gensim.models import Word2Vec, FAST_VERSION # noqa: F401
from gensim.models.keyedvectors import KeyedVectors, pseudorandom_weak_vector

logger = logging.getLogger(__name__)
Expand Down
4 changes: 3 additions & 1 deletion gensim/similarities/annoy.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ def save(self, fname, protocol=2):
Parameters
----------
fname : str
Path to output file, will produce 2 files: `fname` - parameters and `fname`.dict - :class:`~annoy.AnnoyIndex`.
Path to output. Save will produce 2 files:
`fname`: Annoy index itself.
`fname.dict`: Index metadata.
protocol : int, optional
Protocol for pickle.
Expand Down

0 comments on commit 0936e45

Please sign in to comment.