diff --git a/AUTHORS b/AUTHORS index bf9a3b226..b8c9d9e05 100644 --- a/AUTHORS +++ b/AUTHORS @@ -147,6 +147,7 @@ Contributors: * Devadathan M B (devadathanmb) * Charalampos Stratakis * Laszlo Bimba (bimlas) + * MJSHANG (mokashang) Creator: -------- diff --git a/changelog.rst b/changelog.rst index 78e8ee394..33a1bb209 100644 --- a/changelog.rst +++ b/changelog.rst @@ -17,6 +17,10 @@ Bug fixes: * Hide timezone notice at startup when local and server timezones are the same. * Let `sqlparse` accept arbitrarily-large queries. +Internal: +--------- +* Fix typos in code comments. + 4.4.0 (2025-12-24) ================== diff --git a/pgcli/pgexecute.py b/pgcli/pgexecute.py index fbb8e09d3..afc653560 100644 --- a/pgcli/pgexecute.py +++ b/pgcli/pgexecute.py @@ -19,8 +19,8 @@ ViewDef = namedtuple("ViewDef", "nspname relname relkind viewdef reloptions checkoption") -# we added this funcion to strip beginning comments -# because sqlparse didn't handle tem well. It won't be needed if sqlparse +# we added this function to strip beginning comments +# because sqlparse didn't handle them well. It won't be needed if sqlparse # does parsing of this situation better diff --git a/tests/test_pgexecute.py b/tests/test_pgexecute.py index 2b8e87cc0..b84f45666 100644 --- a/tests/test_pgexecute.py +++ b/tests/test_pgexecute.py @@ -391,7 +391,7 @@ def test_execute_commented_first_line_and_special(executor, pgspecial, tmpdir): assert result[0].find("No help") >= 0 # TODO: we probably don't want to do this but sqlparse is not parsing things well - # we relly want it to find help but right now, sqlparse isn't dropping the /*comment*/ + # we really want it to find help but right now, sqlparse isn't dropping the /*comment*/ # style comments after command statement = r"""/*comment1*/