Skip to content

DOC: Fix typos in docstrings and documentation#697

Merged
bashtage merged 1 commit into
bashtage:mainfrom
maxime2476:fix/doc-typos
Jun 10, 2026
Merged

DOC: Fix typos in docstrings and documentation#697
bashtage merged 1 commit into
bashtage:mainfrom
maxime2476:fix/doc-typos

Conversation

@maxime2476

Copy link
Copy Markdown
Contributor

DOC: Fix typos in docstrings and documentation

Ran codespell over the package and docs and fixed the genuine spelling
mistakes (skipped the false positives like coo, the te/oe format
keys, and pres).

Docstrings (these render in the API docs):

  • linearmodels/asset_pricing/covariance.py - "Degree of freedom value
    ot use" -> "to use" (HeteroskedasticCovariance and KernelCovariance).
  • linearmodels/iv/model.py - _OLS docstring "when neeeding a supported
    public API" -> "needing".
  • linearmodels/panel/data.py - "Index level 0 is assumed ot be entity"
    -> "to be entity".

Docs / README:

  • README.md - "High-dimensional Regresssion" -> "Regression".
  • doc/source/changes/4.0.rst - "compatability" -> "compatibility" (x3),
    "singelton" -> "singleton", and a duplicated "the the" -> "the".
  • doc/source/changes/5.0.rst - "Verison" -> "Version" (x2) in the
    section headings (same length, so the underlines stay valid).

Text-only; no code changes. The three touched modules still byte-compile.

Fix several spelling typos found with codespell:
- 'ot' -> 'to' in PanelData and asset-pricing covariance docstrings
- 'neeeding' -> 'needing' in the _OLS docstring
- 'Regresssion' -> 'Regression' in the README
- 'compatability' -> 'compatibility' and 'singelton' -> 'singleton'
  in the change logs, plus a duplicated 'the' and 'Verison' -> 'Version'.
@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.54%. Comparing base (3daac5a) to head (30e9f37).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #697   +/-   ##
=======================================
  Coverage   99.54%   99.54%           
=======================================
  Files         101      101           
  Lines       17423    17423           
  Branches     1430     1430           
=======================================
  Hits        17344    17344           
  Misses         29       29           
  Partials       50       50           
Flag Coverage Δ
adder 99.52% <ø> (ø)
subtractor 99.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bashtage

Copy link
Copy Markdown
Owner

Thanks.

@bashtage
bashtage merged commit 3cdbdb5 into bashtage:main Jun 10, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants