forked from mlcommons/dynabench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
36 lines (35 loc) · 987 Bytes
/
pyproject.toml
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
[tool.isort]
# This is required to make sorting same as fbcode as all absolute imports
# are considered third party there
known_third_party = [
"transformers", "yoyo", "boto3", "bottle", "aiohttp", "pyjwt", "jwt", "cheroot",
"numpy", "sqlalchemy", "pymysql", "requests", "six", "SQLAlchemy", "sagemaker",
"torch", "tqdm", "werkzeug", "cryptography", "mephisto", "omegaconf", "hydra",
"mmf", "PIL", "ts", "captum", "dateutil", "uuid", "pandas", "enum", "botocore",
"sacrebleu", "sentencepiece", "sklearn", "dynalab", "datasets", "dynalab_cli",
"ujson", "sklearn", "spacy", "pyyaml", "yaml"
]
skip_glob = "**/build/**,frontends/**"
combine_as_imports = true
force_grid_wrap = false
include_trailing_comma = true
line_length = 88
multi_line_output = 3
use_parentheses = true
lines_after_imports = 2
[tool.black]
line-length = 88
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| website
)/
'''