Skip to content

Commit

Permalink
Forgotten edits.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miltos Allamanis committed May 18, 2020
1 parent 9e21dec commit 6fa8602
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can then directly apply these suggestions to your code or ignore them.
***What are Python type annotations?***
Introduced in Python 3.5, [type hints](https://www.python.org/dev/peps/pep-0484/)
(more traditionally, type annotations) allow users
(more traditionally called type annotations) allow users
to annotate their code with the expected types. These annotations are
optionally checked by external tools, such as [mypy](http://www.mypy-lang.org/) and [pyright](https://github.com/Microsoft/pyright),
to prevent type errors; they also facilitate code comprehension and navigation.
Expand Down Expand Up @@ -38,7 +38,6 @@ on:
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
suggest:
# The type of runner that the job will run on
Expand Down
2 changes: 2 additions & 0 deletions entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ def data_iter():
and supernode_data["annotation"] != predicted_type,
)

print("Suggestion: ", suggestion)

if lineno not in changed_files[filepath]:
continue

Expand Down

0 comments on commit 6fa8602

Please sign in to comment.