-
-
Notifications
You must be signed in to change notification settings - Fork 677
/
tox.ini
21 lines (20 loc) · 665 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[tox]
envlist = {py3}-tensorflow-{2.8,2.9,2.10,2.11,2.12,2.13,2.14}
[testenv]
setenv =
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
deps = -rexamples/examples-requirements.txt
flake8
pylint
tensorflow-2.8: tensorflow==2.8
tensorflow-2.9: tensorflow==2.9
tensorflow-2.10: tensorflow==2.10
tensorflow-2.11: tensorflow==2.11
tensorflow-2.12: tensorflow==2.12
tensorflow-2.13: tensorflow==2.13
tensorflow-2.14: tensorflow==2.14
changedir = examples
commands = pylint --disable=R,C,W,E1136,E0401 ../attention
python example-attention.py
passenv = *
install_command = pip install {packages}