paddlenlp

Форк
0
/
pyproject.toml 
40 строк · 882.0 Байт
1
[tool.isort]
2
profile = 'black'
3
known_third_party = ["paddle"]
4
skip = ['paddlenlp/transformers/__init__.py']
5

6
[tool.black]
7
line-length = 119
8
target_version = ['py35', 'py36', 'py37', 'py38', 'py39', 'py310']
9
exclude = ['.flake8']
10

11
[tool.pytest.ini_options]
12
minversion = "6.0"
13
addopts = "-ra -q --ignore model_zoo/gpt-3/"
14
pythonpath = ["."]
15
testpaths = [
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
]
33
python_files = [
34
    "test.py",
35
    "test_*.py"
36
]
37
filterwarnings = [
38
    "ignore::UserWarning",
39
    'ignore::DeprecationWarning',
40
]
41

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.