-
Notifications
You must be signed in to change notification settings - Fork 37
/
mypy.ini
36 lines (27 loc) · 1.24 KB
/
mypy.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# MyPy configuration file
[mypy]
# An excellent goal to aim for is to have your codebase pass when run against mypy --strict
# This basically ensures that you will never have a type related error without an explicit circumvention somewhere
# (such as a # type: ignore comment)
# https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-strict
strict = True
# Suppress any error messages generated when your codebase tries importing the module somelibrary
# This is useful if somelibrary is some 3rd party library missing type hints
disable_error_code = import-untyped
# A comma-separated list of paths which should be checked by mypy if none are given on the command line
# Supports recursive file globbing using glob
files = ["*.py", "**/*.py", "**/**/*.py"]
# A comma-separated list of packages which should be checked by mypy if none are given on the command line
# Mypy will not recursively type check any submodules of the provided module
modules = []
# Exclude files
exclude = ^.*\/bin\/.*\.py$|\.venv|utils\/parsing\/unstructured\-api\/.*\.py$
# Packages to fix later
[mypy-sambanova_scribe.*]
ignore_errors = True
[mypy-utils.*]
ignore_errors = True
[mypy-fine_tuning_embeddings.*]
ignore_errors = True
[mypy-edgar_qna.*]
ignore_errors = True