Ihor
Ihor
I see there are harcoded ID's of Pixiv users, illustrations, etc in demo.py. I'd rather use mock responses from Pixiv for unittest coverage instead of requesting the original Pixiv resource...
I've implemented one, it looks like it works more or less. After calling `user_recommended()`: ``` >>> api = AppPixivAPI() >>> api.auth(refresh_token=REFRESH_TOKEN) >>> print(json.dumps(api.user_recommended(), indent=2)) ``` i've seen the next JSON...
The linter (flake8) keeps failing anyway: ``` pixivpy3/aapi.py:303:5: C901 'AppPixivAPI.illust_recommended' is too complex (12) ``` Perhaps `illust_recommended()` should be slightly refactored. Should we handle that as a part of the...
> The linter (flake8) keeps failing anyway: > > ``` > pixivpy3/aapi.py:303:5: C901 'AppPixivAPI.illust_recommended' is too complex (12) > ``` > > Perhaps `illust_recommended()` should be slightly refactored. > >...
Hello, @katresars. Thank you for contributing! Can you please take a look at my note above?
Hello, @zzAIMoo! Have you tried to log in using proxy yet? I presume if it worked out we would be able to close the issue.
Updaging transformers from `4.19.0` to `4.31.0` has worked out for me. Thanks to @rogersaloo for the hint :)
The problem arises from [here](https://github.com/python/mypy/blob/4a9c1e95457f253f87ef5db970ad8d59209c4715/mypy/checker.py#L2224), `check_override()`, as can be seen from a traceback. `node.arguments` in that case has only one item 'self', of course. Meanwhile `override.arg_types` collection (the list being...
Pay attention to [_checker.py_, line 2030](https://github.com/python/mypy/blob/4a9c1e95457f253f87ef5db970ad8d59209c4715/mypy/checker.py#L2030). It looks like this: ```python ... if isinstance(typ, FunctionLike) and is_property(defn): typ = get_property_type(typ) # here if ( isinstance(original_node, Var) and not original_node.is_final ......
@hamdanal Thank you for the feedback. True, private module should be included in some cases. This is precisely what the `--include-private` flag is for. There definitely must be `if not...