Trinh Quoc Anh

Results 9 comments of Trinh Quoc Anh

I am in the same situation. I tried the workaround above but still can't load the SimpleData field. Is there another workaround? Thanks a lot.

Thank you very much. I'm able to do that now. This code can access the scraps and the parameters at the same time: ```python for scraps, nb in zip(book.notebook_scraps, book.notebooks):...

Hello, I would like to understand if this limitation also applies to `mypy`, which also needs the context of the whole codebase to correctly analyze the notebooks?

I also have a similar issue in some (not all, and I don't know why) notebooks.

Hello @josef-pkt, rule E721 has evolved, now they only recommend using `isinstance`. Do you think we can use `isinstance` for all these cases? I can send a PR if the...

In my opinion, this issue can be closed in favor of https://github.com/pandas-dev/pandas/issues/57443, which has a better instruction for the workflow to fix these errors

@martinfleis Thanks a lot for the quick reply. It's clear to me now.

thanks for the review, @snowman2. I detected this thanks to `ruff`'s [B015](https://docs.astral.sh/ruff/rules/useless-comparison/). Is it alright to set up `ruff` pre-commit alongside `flake8` for now to eventually replace it?

Hello there, any update on this issue? Thank you very much.