You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the case of Pyright, instead of runtime arguments, it is required to create a
145
145
config file for the project, called `pyrightconfig.json` or a `pyright` section
146
-
in `pyproject.toml`. See [here](https://github.com/microsoft/pyright/blob/main/docs/configuration.md) for reference. In order to set this configuration, QtPy offers the `pyright-config` command as guidance.
146
+
in `pyproject.toml`. See [here](https://github.com/microsoft/pyright/blob/main/docs/configuration.md)
147
+
for reference. In order to set this configuration, QtPy offers the `pyright-config`
148
+
command for guidance.
147
149
148
150
If you run
149
151
@@ -152,9 +154,9 @@ qtpy pyright-config
152
154
```
153
155
154
156
you will get the necessary configs to be included in your project files. If you don't
155
-
have them, it is recommended to create the latter. For example, in an environment where PyQt5 is installed and selected
156
-
(or the default fallback, if no binding can be found in the environment),
157
-
this would output the following:
157
+
have them, it is recommended to create the latter. For example, in an environment where PyQt5
158
+
is installed and selected (or the default fallback, if no binding can be found in the
0 commit comments