Commit
·
56f00c9
1
Parent(s):
ec9036a
Upload setup.cfg with huggingface_hub
Browse files
setup.cfg
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[isort]
|
| 2 |
+
default_section = FIRSTPARTY
|
| 3 |
+
ensure_newline_before_comments = True
|
| 4 |
+
force_grid_wrap = 0
|
| 5 |
+
include_trailing_comma = True
|
| 6 |
+
known_first_party = huggingface_hub
|
| 7 |
+
known_third_party =
|
| 8 |
+
absl
|
| 9 |
+
conllu
|
| 10 |
+
datasets
|
| 11 |
+
elasticsearch
|
| 12 |
+
fairseq
|
| 13 |
+
faiss-cpu
|
| 14 |
+
fastprogress
|
| 15 |
+
fire
|
| 16 |
+
fsspec
|
| 17 |
+
fugashi
|
| 18 |
+
git
|
| 19 |
+
graphviz
|
| 20 |
+
h5py
|
| 21 |
+
matplotlib
|
| 22 |
+
nltk
|
| 23 |
+
numpy
|
| 24 |
+
packaging
|
| 25 |
+
pandas
|
| 26 |
+
pydot
|
| 27 |
+
PIL
|
| 28 |
+
psutil
|
| 29 |
+
pytest
|
| 30 |
+
pytorch_lightning
|
| 31 |
+
rouge_score
|
| 32 |
+
sacrebleu
|
| 33 |
+
seqeval
|
| 34 |
+
sklearn
|
| 35 |
+
streamlit
|
| 36 |
+
tensorboardX
|
| 37 |
+
tensorflow
|
| 38 |
+
tensorflow_datasets
|
| 39 |
+
timeout_decorator
|
| 40 |
+
torch
|
| 41 |
+
torchtext
|
| 42 |
+
torchvision
|
| 43 |
+
torch_xla
|
| 44 |
+
tqdm
|
| 45 |
+
|
| 46 |
+
line_length = 119
|
| 47 |
+
lines_after_imports = 2
|
| 48 |
+
multi_line_output = 3
|
| 49 |
+
use_parentheses = True
|
| 50 |
+
|
| 51 |
+
[flake8]
|
| 52 |
+
exclude = .git,__pycache__,old,build,dist,.venv*
|
| 53 |
+
ignore = B028, E203, E501, E741, W503
|
| 54 |
+
max-line-length = 119
|
| 55 |
+
|
| 56 |
+
[tool:pytest]
|
| 57 |
+
# -Werror::FutureWarning -> test fails if FutureWarning is thrown
|
| 58 |
+
# -s -> logs are not captured
|
| 59 |
+
# -v -> verbose mode
|
| 60 |
+
# --log-cli-level=INFO -> log level
|
| 61 |
+
# --durations=0 -> print execution time of each test
|
| 62 |
+
addopts = -Werror::FutureWarning --log-cli-level=INFO -sv --durations=0
|
| 63 |
+
env =
|
| 64 |
+
HUGGINGFACE_CO_STAGING=1
|
| 65 |
+
DISABLE_SYMLINKS_IN_WINDOWS_TESTS=1
|