"tests/benchmarks/bm_cubify.py" did not exist on "d57daa6f855f581268d875a0ad93c570871f457b"
Commit e2ef6108 authored by cclauss's avatar cclauss Committed by Paige Bailey
Browse files

Python typing: Use 'str', not 'string' (#6422)

https://mypy.readthedocs.io/en/latest/cheat_sheet.html

[flake8](http://flake8.pycqa.org) testing of https://github.com/tensorflow/models on Python 3.7.1

$ __flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics__
```
./official/recommendation/data_pipeline.py:346:41: F821 undefined name 'string'
               epoch_dir=None           # type: string
                                        ^
```
parent b3594a83
......@@ -343,7 +343,7 @@ class BaseDataConstructor(threading.Thread):
batches_per_eval_step, # type: int
stream_files, # type: bool
deterministic=False, # type: bool
epoch_dir=None # type: string
epoch_dir=None # type: str
):
# General constants
self._maximum_number_epochs = maximum_number_epochs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment