blob: 9955929e1499dccecab5748d07e387b75ddaca4f [file] [log] [blame]
Zack Williams821c5022020-01-15 15:11:46 -07001; Copyright 2017-present Open Networking Foundation
2;
3; Licensed under the Apache License, Version 2.0 (the "License");
4; you may not use this file except in compliance with the License.
5; You may obtain a copy of the License at
6;
7; http://www.apache.org/licenses/LICENSE-2.0
8;
9; Unless required by applicable law or agreed to in writing, software
10; distributed under the License is distributed on an "AS IS" BASIS,
11; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12; See the License for the specific language governing permissions and
13; limitations under the License.
14
15[tox]
16envlist = py35,py36,py37
17skip_missing_interpreters = true
18
19[testenv]
20# remove the git+https link and add to requirements.txt when upstream fixes the pypi package
21deps =
22 -r requirements.txt
23 flake8
24 pylint
25 robotframework-lint
26 git+https://github.com/zdw/robotframework-importresource@b81b87aabaee0594e966687b41e3674b866f28ee
27
28# LineToLong should be much lower
29commands =
30 flake8
31 pylint --py3k CORDRobot
32 rflint \
33 --configure TooFewKeywordSteps:1 \
34 --configure LineTooLong:160 -e LineTooLong \
35 CORDRobot/rf-resources test
36 robot test/test.robot
37
38[flake8]
39exclude =
40 .tox
41 build
42max-line-length = 119