Skip to content

Commit

Permalink
Merge 36322ed into f293de7
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Jul 1, 2019
2 parents f293de7 + 36322ed commit 9c4fdfe
Show file tree
Hide file tree
Showing 15 changed files with 943 additions and 973 deletions.
1 change: 0 additions & 1 deletion .pyre_configuration
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"WDL"
],
"search_path": [
".",
"stubs"
],
"workers": 4
Expand Down
136 changes: 66 additions & 70 deletions WDL/CLI.py

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions WDL/Error.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import List, Optional, NamedTuple, Union, Iterable, TypeVar, Generator, Callable, Any
from functools import total_ordering
from contextlib import contextmanager
import WDL.Type as T
from . import Type


SourcePosition = NamedTuple(
Expand Down Expand Up @@ -143,7 +143,11 @@ def __init__(self, node: SourceNode, member: str) -> None:

class StaticTypeMismatch(ValidationError):
def __init__(
self, node: SourceNode, expected: T.Base, actual: T.Base, message: Optional[str] = None
self,
node: SourceNode,
expected: Type.Base,
actual: Type.Base,
message: Optional[str] = None,
) -> None:
self.expected = expected
self.actual = actual
Expand Down
259 changes: 124 additions & 135 deletions WDL/Expr.py

Large diffs are not rendered by default.

280 changes: 133 additions & 147 deletions WDL/Lint.py

Large diffs are not rendered by default.

414 changes: 207 additions & 207 deletions WDL/StdLib.py

Large diffs are not rendered by default.

Loading

0 comments on commit 9c4fdfe

Please sign in to comment.