paddlenlp
/
pyproject.toml
40 строк · 882.0 Байт
1[tool.isort]
2profile = 'black'
3known_third_party = ["paddle"]
4skip = ['paddlenlp/transformers/__init__.py']
5
6[tool.black]
7line-length = 119
8target_version = ['py35', 'py36', 'py37', 'py38', 'py39', 'py310']
9exclude = ['.flake8']
10
11[tool.pytest.ini_options]
12minversion = "6.0"
13addopts = "-ra -q --ignore model_zoo/gpt-3/"
14pythonpath = ["."]
15testpaths = [
16"tests/data",
17"tests/dataaug",
18"tests/datasets",
19"tests/embeddings",
20"tests/experimental",
21"tests/generation",
22"tests/layers",
23"tests/metrics",
24"tests/ops",
25"tests/trainer",
26"tests/transformers",
27"tests/peft",
28"tests/prompt",
29# "tests/taskflow", TODO (paddle 2.5.1 breaks this test suite, debug later)
30"tests/utils",
31"model_zoo",
32]
33python_files = [
34"test.py",
35"test_*.py"
36]
37filterwarnings = [
38"ignore::UserWarning",
39'ignore::DeprecationWarning',
40]
41