GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use typos for code spelling · GenericMappingTools/pygmt@189a2ee

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/ISSUE_TEMPLATE
    • 4-release_checklist.md
  • Makefile
  • environment.yml
  • pyproject.toml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/ISSUE_TEMPLATE/4-release_checklist.md‎

Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/4-release_checklist.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ assignees: ''
3333
- [ ] Update warnings in `pygmt/_show_versions.py` as well as notes in [Not working transparency](https://www.pygmt.org/dev/install.html#not-working-transparency) regarding GMT-Ghostscript incompatibility
3434
- [ ] Reserve a DOI on [Zenodo](https://zenodo.org) by clicking on "New Version"
3535
- [ ] Finish up the "Changelog entry for v0.x.x" Pull Request (Use the previous changelog PR as a reference)
36-
- [ ] Run `make codespell` to check common misspellings. If there are any, either fix them or add them to `ignore-words-list` in `pyproject.toml`
36+
- [ ] Run `make spellcheck` to check common misspellings. If there are any, either fix them or add them to the relevant spelling configuration in `pyproject.toml`
3737
- [ ] Draft the announcement on https://hackmd.io/@pygmt
3838

3939
**Release**:
Collapse file

‎Makefile‎

Copy file name to clipboardExpand all lines: Makefile
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ help:
1616
@echo " test_no_images run the test suite (including all doctests) but skip image comparisons"
1717
@echo " format run Ruff to automatically format the code"
1818
@echo " check run Ruff to check code style and quality"
19-
@echo " codespell run codespell to check common misspellings"
19+
@echo " spellcheck run codespell and typos to check common misspellings"
2020
@echo " typecheck run mypy for static type check"
2121
@echo " clean clean up build and generated files"
2222
@echo " distclean clean up build and generated files, including project metadata files"
@@ -67,8 +67,11 @@ check:
6767
ruff check $(FORMAT_FILES)
6868
ruff format --check $(FORMAT_FILES)
6969

70-
codespell:
71-
@codespell
70+
spellcheck:
71+
@status=0; \
72+
codespell || status=1; \
73+
typos || status=1; \
74+
exit $$status
7275

7376
typecheck:
7477
mypy ${PROJECT}
Collapse file

‎environment.yml‎

Copy file name to clipboardExpand all lines: environment.yml
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ dependencies:
2727
- codespell
2828
- prek
2929
- ruff>=0.15.5
30+
- typos
3031
# Dev dependencies (unit testing)
3132
- matplotlib-base
3233
- pytest>=6.0
Collapse file

‎pyproject.toml‎

Copy file name to clipboardExpand all lines: pyproject.toml
+19-1Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,25 @@ local_scheme = "node-and-date"
7171
fallback_version = "999.999.999+unknown"
7272

7373
[tool.codespell]
74-
ignore-words-list = "astroid,buda,oints,reenable,te,tripel,trough,ND"
74+
ignore-words-list = "astroid,buda,oints,te,tripel,trough,ND,fo,ser,OCE"
75+
76+
[tool.typos.default.extend-words]
77+
astroid = "astroid"
78+
buda = "buda"
79+
fo = "fo"
80+
iddle = "iddle"
81+
oints = "oints"
82+
pn = "pn"
83+
ser = "ser"
84+
te = "te"
85+
tripel = "tripel"
86+
trough = "trough"
87+
Ba = "Ba"
88+
ND = "ND"
89+
OCE = "OCE"
90+
Tripel = "Tripel"
91+
92+
[tool.typos.default.extend-identifiers]
7593

7694
[tool.coverage.run]
7795
omit = ["*/tests/*", "*pygmt/__init__.py"]

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.