Spaces:
Runtime error
Runtime error
Add requirements checker
Browse files- .pre-commit-config.yaml +2 -0
- requirements.txt +15 -17
.pre-commit-config.yaml
CHANGED
|
@@ -29,7 +29,9 @@ repos:
|
|
| 29 |
- repo: https://github.com/pre-commit/pre-commit-hooks
|
| 30 |
rev: v3.1.0
|
| 31 |
hooks:
|
|
|
|
| 32 |
- id: check-ast
|
|
|
|
| 33 |
- id: check-toml
|
| 34 |
- id: check-executables-have-shebangs
|
| 35 |
- id: check-docstring-first
|
|
|
|
| 29 |
- repo: https://github.com/pre-commit/pre-commit-hooks
|
| 30 |
rev: v3.1.0
|
| 31 |
hooks:
|
| 32 |
+
- id: requirements-txt-fixer
|
| 33 |
- id: check-ast
|
| 34 |
+
- id: check-yaml
|
| 35 |
- id: check-toml
|
| 36 |
- id: check-executables-have-shebangs
|
| 37 |
- id: check-docstring-first
|
requirements.txt
CHANGED
|
@@ -1,25 +1,23 @@
|
|
| 1 |
-
torch
|
| 2 |
-
torchvision
|
| 3 |
-
Pillow
|
| 4 |
-
numpy
|
| 5 |
-
PyYAML
|
| 6 |
-
tqdm
|
| 7 |
-
pre-commit
|
| 8 |
-
cryptography
|
| 9 |
argparse
|
| 10 |
-
gradio
|
| 11 |
-
numpy
|
| 12 |
-
ipython
|
| 13 |
-
rich
|
| 14 |
-
click
|
| 15 |
brunette
|
| 16 |
-
|
| 17 |
-
Sphinx>=5,<6
|
| 18 |
-
sphinx_rtd_theme
|
| 19 |
codecov
|
| 20 |
coverage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
pytest
|
| 22 |
pytest-cov
|
| 23 |
pytest-random-order
|
| 24 |
pytest-sugar
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
argparse
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
brunette
|
| 3 |
+
click
|
|
|
|
|
|
|
| 4 |
codecov
|
| 5 |
coverage
|
| 6 |
+
cryptography
|
| 7 |
+
flake8
|
| 8 |
+
gradio
|
| 9 |
+
ipython
|
| 10 |
+
numpy
|
| 11 |
+
Pillow
|
| 12 |
+
pre-commit
|
| 13 |
pytest
|
| 14 |
pytest-cov
|
| 15 |
pytest-random-order
|
| 16 |
pytest-sugar
|
| 17 |
+
PyYAML
|
| 18 |
+
rich
|
| 19 |
+
Sphinx>=5,<6
|
| 20 |
+
sphinx_rtd_theme
|
| 21 |
+
torch
|
| 22 |
+
torchvision
|
| 23 |
+
tqdm
|