From c7af627736a31d32952344d4404d376f3a84008d Mon Sep 17 00:00:00 2001 From: Pavel Karateev Date: Wed, 13 Aug 2025 13:20:06 +0200 Subject: [PATCH] PY-83336 update PyCharm built-in spell check dict (August) (cherry picked from commit fa50c92a7d05790dea0322b0af53113c5759c323) IJ-MR-172304 GitOrigin-RevId: 7f5447684942bcadd3a5b33e1e0eed03d1c42f7e --- .../jetbrains/python/spellchecker/acronyms.dic | 2 ++ .../com/jetbrains/python/spellchecker/logging.dic | 2 ++ .../com/jetbrains/python/spellchecker/pytest.dic | 4 ++++ .../python/spellchecker/pythonExtras.dic | 15 ++++++++------- .../jetbrains/python/spellchecker/sqlalchemy.dic | 1 + .../com/jetbrains/python/spellchecker/tox.dic | 6 ++++++ .../PythonBundledDictionaryProvider.java | 13 ++++++++++--- 7 files changed, 33 insertions(+), 10 deletions(-) create mode 100644 python/pluginResources/com/jetbrains/python/spellchecker/acronyms.dic create mode 100644 python/pluginResources/com/jetbrains/python/spellchecker/logging.dic create mode 100644 python/pluginResources/com/jetbrains/python/spellchecker/pytest.dic create mode 100644 python/pluginResources/com/jetbrains/python/spellchecker/sqlalchemy.dic create mode 100644 python/pluginResources/com/jetbrains/python/spellchecker/tox.dic diff --git a/python/pluginResources/com/jetbrains/python/spellchecker/acronyms.dic b/python/pluginResources/com/jetbrains/python/spellchecker/acronyms.dic new file mode 100644 index 000000000000..f0b2d4b14c62 --- /dev/null +++ b/python/pluginResources/com/jetbrains/python/spellchecker/acronyms.dic @@ -0,0 +1,2 @@ +ASGI +LDAPS \ No newline at end of file diff --git a/python/pluginResources/com/jetbrains/python/spellchecker/logging.dic b/python/pluginResources/com/jetbrains/python/spellchecker/logging.dic new file mode 100644 index 000000000000..2ab2608324ff --- /dev/null +++ b/python/pluginResources/com/jetbrains/python/spellchecker/logging.dic @@ -0,0 +1,2 @@ +asctime +levelname \ No newline at end of file diff --git a/python/pluginResources/com/jetbrains/python/spellchecker/pytest.dic b/python/pluginResources/com/jetbrains/python/spellchecker/pytest.dic new file mode 100644 index 000000000000..5355632ab12d --- /dev/null +++ b/python/pluginResources/com/jetbrains/python/spellchecker/pytest.dic @@ -0,0 +1,4 @@ +addopts +capsys +conftest +pytestmark \ No newline at end of file diff --git a/python/pluginResources/com/jetbrains/python/spellchecker/pythonExtras.dic b/python/pluginResources/com/jetbrains/python/spellchecker/pythonExtras.dic index fde039ac8ebc..7895ed8270c5 100644 --- a/python/pluginResources/com/jetbrains/python/spellchecker/pythonExtras.dic +++ b/python/pluginResources/com/jetbrains/python/spellchecker/pythonExtras.dic @@ -1,14 +1,15 @@ +PYTHONPATH cinit codecell -noqa -rtype -tuple -tuples -teardown doctest doctests +idna +noqa pycon +rtype +teardown +tuple +tuples unittest unittests -virtualenv -idna +virtualenv \ No newline at end of file diff --git a/python/pluginResources/com/jetbrains/python/spellchecker/sqlalchemy.dic b/python/pluginResources/com/jetbrains/python/spellchecker/sqlalchemy.dic new file mode 100644 index 000000000000..766a941ab720 --- /dev/null +++ b/python/pluginResources/com/jetbrains/python/spellchecker/sqlalchemy.dic @@ -0,0 +1 @@ +tablename \ No newline at end of file diff --git a/python/pluginResources/com/jetbrains/python/spellchecker/tox.dic b/python/pluginResources/com/jetbrains/python/spellchecker/tox.dic new file mode 100644 index 000000000000..8089d780f989 --- /dev/null +++ b/python/pluginResources/com/jetbrains/python/spellchecker/tox.dic @@ -0,0 +1,6 @@ +envlist +rrequirements +skipsdist +posargs +toxinidir +basepython \ No newline at end of file diff --git a/python/src/com/jetbrains/python/spellchecker/PythonBundledDictionaryProvider.java b/python/src/com/jetbrains/python/spellchecker/PythonBundledDictionaryProvider.java index 400b6ef720fe..e162d3088cf8 100644 --- a/python/src/com/jetbrains/python/spellchecker/PythonBundledDictionaryProvider.java +++ b/python/src/com/jetbrains/python/spellchecker/PythonBundledDictionaryProvider.java @@ -8,9 +8,16 @@ public final class PythonBundledDictionaryProvider implements BundledDictionaryP @Override public String[] getBundledDictionaries() { return new String[] { - "python.dic", // autogenerated from python stdlib - "pythonExtras.dic", // manually added - "django.dic" + "python.dic", // autogenerated from python stdlib + "django.dic", + + // manually added + "acronyms.dic", + "logging.dic", + "pytest.dic", + "pythonExtras.dic", + "sqlalchemy.dic", + "tox.dic", }; } }