Skip to content

Commit 0bfd75a

Browse files
ci: add typos config to suppress false positives on Vertica SVG gradient IDs (#2181)
* ci: add typos config to suppress false positives on Vertica SVG gradient IDs Co-Authored-By: Yosef Arbiv <yosef.arbiv@gmail.com> * ci: pin mypy<1.16 to avoid INTERNAL ERROR in mypy 1.20.0 Co-Authored-By: Yosef Arbiv <yosef.arbiv@gmail.com> * ci: add comment explaining mypy version pin Co-Authored-By: Yosef Arbiv <yosef.arbiv@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Yosef Arbiv <yosef.arbiv@gmail.com>
1 parent 28daf9f commit 0bfd75a

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

_typos.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[default.extend-identifiers]
2+
# Vertica logo SVG gradient IDs contain "ot" which is flagged as a typo.
3+
# These are intentional SVG element identifiers, not misspellings.
4+
vertica_page_ot_gradient = "vertica_page_ot_gradient"
5+
vertica_oss_ot_gradient = "vertica_oss_ot_gradient"
6+
vertica_cloud_ot_gradient = "vertica_cloud_ot_gradient"

dev-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
pytest
22
pytest-parametrization>=2022.2.1
33
pre-commit
4-
mypy
4+
# Pinned below 1.16 because mypy >=1.16 crashes with INTERNAL ERROR on this codebase.
5+
mypy<1.16
56
deepdiff
67
# MyPy stubs
78
types-requests

0 commit comments

Comments
 (0)