forked from PaddlePaddle/PaddleNLP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
40 lines (38 loc) · 882 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
37
38
39
40
[tool.isort]
profile = 'black'
known_third_party = ["paddle"]
skip = ['paddlenlp/transformers/__init__.py']
[tool.black]
line-length = 119
target_version = ['py35', 'py36', 'py37', 'py38', 'py39', 'py310']
exclude = ['.flake8']
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --ignore model_zoo/gpt-3/"
pythonpath = ["."]
testpaths = [
"tests/data",
"tests/dataaug",
"tests/datasets",
"tests/embeddings",
"tests/experimental",
"tests/generation",
"tests/layers",
"tests/metrics",
"tests/ops",
"tests/trainer",
"tests/transformers",
"tests/peft",
"tests/prompt",
# "tests/taskflow", TODO (paddle 2.5.1 breaks this test suite, debug later)
"tests/utils",
"model_zoo",
]
python_files = [
"test.py",
"test_*.py"
]
filterwarnings = [
"ignore::UserWarning",
'ignore::DeprecationWarning',
]