Skip to content

Commit

Permalink
Enable checking for functions that don't have a type hint (onnx#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
smessmer authored May 21, 2018
1 parent 9f9316a commit b3b3b28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion onnx/gen_proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def main():
args = parser.parse_args()

if not os.path.exists(args.output):
os.mkdirs(args.output)
os.makedirs(args.output)

for stem in args.stems:
convert(stem,
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ warn_no_return = True
warn_redundant_casts = True
warn_incomplete_stub = True
# TODO disallow_untyped_calls = True
# TODO check_untyped_defs = True
check_untyped_defs = True
disallow_any_generics = True
no_implicit_optional = True
# TODO disallow_untyped_defs = True
Expand Down

0 comments on commit b3b3b28

Please sign in to comment.