Wang

Results 8 comments of Wang

You should add a `.pyre_configuration` in your root of the repo and set the `search_path` manually. ![image](https://github.com/facebook/pyre-check/assets/120731947/6dab42ab-be89-4318-b9c9-9b99ad3d987d)

As my inspection, a part(or even all) of this issue caused by pyre only treat a function defined by `def __add__(): ...` as a magic method of a class but...

> Would you be able to try on WSL since we currently do not support windows? ![image](https://github.com/facebook/pyre-check/assets/120731947/5024f8c8-b314-4c76-aaca-7aea407af305) (on WSL) ![image](https://github.com/facebook/pyre-check/assets/120731947/ab1604ee-5d39-424f-8dfd-2b5435ed3f36) https://github.com/facebook/pyre-check/blob/baad875701eed38747cc30cad95eafb7754f991c/client/configuration/search_path.py#L76-L77 Pyre only treat a .py file as a site-package,...

Here is a tasklist for this PR: 1. [ ] Add a cache system for files in `site_root` or the check command will be very slow. 2. [ ] Fix...

@kinto0 For the second task, I guess this may because a `.so` can't detect it's annotations.But I'm not sure, could you give me more info about this?

Fix suggestion: Every site-package must have a `name-version.dist-info` folder in the site root, and there will be a `RECORD` file in the folder. ![image](https://github.com/facebook/pyre-check/assets/120731947/48a0730f-3077-49f6-871e-469723e65280) And all the files will be...

But a `print` seldom stuck, and if you run `op` with `honor_existing=False`, it will simply stuck. And, for > and the way to get out of it is just Ctrl+C...