Erik Wright
Erik Wright
While the example is interesting in that it shows an example of advanced pattern matching, it is problematic in that the pattern used is not of a valid type for...
https://github.com/scala-exercises/exercises-scalatutorial/blob/master/src/main/scala/scalatutorial/sections/HigherOrderFunctions.scala#L126-L138 If I try to run code like this, I get: ```scala Welcome to Scala 2.12.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_162-ea). Type in expressions for evaluation. Or try...
@cfournie PTAL --- This change is [](https://reviewable.io/reviews/shopify/shopify_python/88)
@cfournie PTAL. Solves the following: ``` [2017-06-03T04:28:19Z] File "/app/.tox/pylint/src/pylint/pylint/utils.py", line 970, in walk [2017-06-03T04:28:19Z] cb(astroid) [2017-06-03T04:28:19Z] File "/app/.tox/pylint/lib/python3.5/site-packages/shopify_python/google_styleguide.py", line 145, in visit_lambda [2017-06-03T04:28:19Z] self.__lambda_func(node) [2017-06-03T04:28:19Z] File "/app/.tox/pylint/lib/python3.5/site-packages/shopify_python/google_styleguide.py", line 298, in...
In https://github.com/python/mypy/issues/2169 and https://github.com/python/mypy/issues/1843 there was discussion about using `Type[some_abc]` and how it should be allowed in a function signature, but that the call-site was expected to pass a concrete...