Update mypy dependencies
Browse files- .mypy.ini +30 -0
- .pre-commit-config.yaml +1 -2
.mypy.ini
CHANGED
|
@@ -1,3 +1,33 @@
|
|
| 1 |
[mypy]
|
| 2 |
|
| 3 |
exclude = venv
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
[mypy]
|
| 2 |
|
| 3 |
exclude = venv
|
| 4 |
+
|
| 5 |
+
[mypy-alpaca_lora_4bit.*]
|
| 6 |
+
ignore_missing_imports = True
|
| 7 |
+
|
| 8 |
+
[mypy-flash_attn.*]
|
| 9 |
+
ignore_missing_imports = True
|
| 10 |
+
|
| 11 |
+
[mypy-huggingface_hub]
|
| 12 |
+
ignore_missing_imports = True
|
| 13 |
+
|
| 14 |
+
[mypy-transformers.*]
|
| 15 |
+
ignore_missing_imports = True
|
| 16 |
+
|
| 17 |
+
[mypy-peft]
|
| 18 |
+
ignore_missing_imports = True
|
| 19 |
+
|
| 20 |
+
[mypy-bitsandbytes]
|
| 21 |
+
ignore_missing_imports = True
|
| 22 |
+
|
| 23 |
+
[mypy-datasets]
|
| 24 |
+
ignore_missing_imports = True
|
| 25 |
+
|
| 26 |
+
[mypy-fire]
|
| 27 |
+
ignore_missing_imports = True
|
| 28 |
+
|
| 29 |
+
[mypy-setuptools]
|
| 30 |
+
ignore_missing_imports = True
|
| 31 |
+
|
| 32 |
+
[mypy-addict]
|
| 33 |
+
ignore_missing_imports = True
|
.pre-commit-config.yaml
CHANGED
|
@@ -26,6 +26,5 @@ repos:
|
|
| 26 |
- id: mypy
|
| 27 |
additional_dependencies:
|
| 28 |
[
|
| 29 |
-
|
| 30 |
-
'types-PyYAML'
|
| 31 |
]
|
|
|
|
| 26 |
- id: mypy
|
| 27 |
additional_dependencies:
|
| 28 |
[
|
| 29 |
+
'types-PyYAML',
|
|
|
|
| 30 |
]
|