Skip to content

Commit

Permalink
Merge pull request #227 from jorenham/bugfix/typing-rework
Browse files Browse the repository at this point in the history
Typing overhaul
  • Loading branch information
jorenham authored May 22, 2024
2 parents 11ec36d + 00c85fb commit 12a3523
Show file tree
Hide file tree
Showing 34 changed files with 3,288 additions and 3,051 deletions.
6 changes: 2 additions & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
"codezombiech.gitignore",
"davidanson.vscode-markdownlint",
"editorconfig.editorconfig",
"elagil.pre-commit-helper",
"eeyore.yapf",
"ms-python.python",
"ms-python.vscode-pylance",
"serhioromano.vscode-gitflow",
"yzhang.markdown-all-in-one",
"zeshuaro.vscode-python-poetry"
"yzhang.markdown-all-in-one"
]
}
67 changes: 32 additions & 35 deletions lmo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,38 +1,4 @@
"""Lmo: Robust statistics with trimmed L-moments and L-comoments."""

__all__ = (
'__version__',

'l_loc',
'l_scale',
'l_variation',
'l_skew',
'l_kurtosis',

'l_moment',
'l_ratio',
'l_stats',

'l_moment_cov',
'l_ratio_se',
'l_stats_se',

'l_moment_influence',
'l_ratio_influence',

'l_weights',

'l_coloc',
'l_coscale',
'l_corr',
'l_coskew',
'l_cokurtosis',

'l_comoment',
'l_coratio',
'l_costats',
)

import sys
from typing import TYPE_CHECKING, Final

Expand Down Expand Up @@ -80,10 +46,41 @@

del np


__version__: Final[str] = _get_version()
__author__: Final[str] = 'Joren Hammdugolu'
__email__: Final[str] = '[email protected]'
__description__: Final[str] = (
'Robust statistics with trimmed L-moments and L-comoments.'
)
__all__ = (
'__version__',

'l_loc',
'l_scale',
'l_variation',
'l_skew',
'l_kurtosis',

'l_moment',
'l_ratio',
'l_stats',

'l_moment_cov',
'l_ratio_se',
'l_stats_se',

'l_moment_influence',
'l_ratio_influence',

'l_weights',

'l_coloc',
'l_coscale',
'l_corr',
'l_coskew',
'l_cokurtosis',

'l_comoment',
'l_coratio',
'l_costats',
)
Loading

0 comments on commit 12a3523

Please sign in to comment.