Zack Williams | 821c502 | 2020-01-15 15:11:46 -0700 | [diff] [blame] | 1 | ; 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] |
| 16 | envlist = py35,py36,py37 |
| 17 | skip_missing_interpreters = true |
| 18 | |
| 19 | [testenv] |
| 20 | # remove the git+https link and add to requirements.txt when upstream fixes the pypi package |
| 21 | deps = |
| 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 |
| 29 | commands = |
| 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] |
| 39 | exclude = |
| 40 | .tox |
| 41 | build |
| 42 | max-line-length = 119 |