Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
ashioyajotham committed Jan 11, 2025
1 parent 367bb9e commit c4efc1d
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.env
venv
config/*.local.yaml
__pycache__
__pycache__
.mypy_cache/
Empty file added __init__.py
Empty file.
20 changes: 19 additions & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,29 @@ python_version = 3.11
warn_return_any = True
warn_unused_configs = True
exclude = venv/,__pycache__
mypy_path = .
mypy_path = stubs:.
package_root = .

[mypy.plugins.django.*]
init_typed = True

[mypy-scipy.*]
ignore_missing_imports = True

[mypy-nltk.*]
ignore_missing_imports = True

[mypy-pandas.*]
ignore_missing_imports = True

[mypy-transformers.*]
ignore_missing_imports = True

[mypy-textblob.*]
ignore_missing_imports = True

[mypy-vaderSentiment.*]
ignore_missing_imports = True

[mypy-statsmodels.*]
ignore_missing_imports = True
5 changes: 5 additions & 0 deletions stubs/nltk/__init__.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from typing import Any

corpus: Any
stem: Any
tokenize: Any
4 changes: 4 additions & 0 deletions stubs/scipy/__init__.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from typing import Any

optimize: Any
stats: Any

0 comments on commit c4efc1d

Please sign in to comment.