Commit Graph

8 Commits

Author SHA1 Message Date
Ilya.Kazakevich
a1782e3d61 Python: remove unused symbols
GitOrigin-RevId: 2fbd1132fd0b9ac8b239f068cd6a5920a589c30a
2025-05-06 19:38:29 +00:00
Vladimir Krivosheev
e3d5d85a47 update bazel files
GitOrigin-RevId: 4a1f45312f93e76248b05a7c8cc27a2b2ac84036
2025-04-30 14:07:08 +00:00
Vladimir.Koshelev
67594cdaad [pycharm] finish community migration to v2
# Conflicts:
#	community/python/pluginCore/resources/META-INF/plugin.xml

GitOrigin-RevId: e4d6969fd15a3fddc4d6a03491fb9f9634285edf
2025-04-30 10:08:56 +00:00
Ilya.Kazakevich
803e270d45 Python: refactor PyError hierarchy, migrate to PyResult.
DO:
For upper-level (public) API use `PyResult`.
(Optionally) for low-level APIs inside your modules use python `Result<S, E>`.
Represent errors as `PyError` whenever possible.
Report `PyError` to `ErrorSink` at the top of your code.

DON'T:
Use `kotlin.Result`
Use `PyExecutionException`
Use any exception to represent user errors.

GitOrigin-RevId: 4ecf69e1fae8be9192cd33b90e0147c725a98964
2025-04-29 00:43:56 +00:00
Vitaly Legchilkin
133bb61a1d [python] dependencies highlight and completion in pyproject.toml fix (PY-72985)
* use module sdk instead of project sdk in dependency completion
* remove dependency on the "requirements.txt" in the UnsatisfiedRequirementInspection (might be also pyproject.toml)
* move poetry-related things to own package

GitOrigin-RevId: 878ad4c419ed8025aa27bca2357ec7bed2e26f3c
2025-03-18 21:50:59 +00:00
Vladimir Krivosheev
1da6f5d864 update bazel files
GitOrigin-RevId: 7cf26cab90b6cf5e692bd87dafb958903a997ca5
2025-02-26 08:55:35 +00:00
David Lysenko
18eb19aff3 [pycharm] Address feedback
GitOrigin-RevId: ff5e1efdefa9ce24f76a0d628937a586a1363b78
2025-02-25 14:45:15 +00:00
David Lysenko
a570aebb18 [pycharm] PY-79369 Consolidate logic for pyproject.toml handling
GitOrigin-RevId: cf5b90daeaf3686b044e98888be6675618e9471e
2025-02-25 14:45:15 +00:00