Skip to content

Commit 795907d

Browse files
sebito91aviau
authored andcommitted
adding pep257 linter
1 parent 5f645d3 commit 795907d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ matrix:
1212
include:
1313
- python: 2.7
1414
env: TOX_ENV=py27
15+
- python: 2.7
16+
env: TOX_ENV=pep257
1517
- python: pypy-5.3.1
1618
env: TOX_ENV=pypy
1719
- python: 3.4

tox.ini

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27, py34, py35, py36, pypy, pypy3, flake8, coverage, docs
2+
envlist = py27, py34, py35, py36, pypy, pypy3, flake8, pep257, coverage, docs
33

44
[testenv]
55
passenv = INFLUXDB_PYTHON_INFLUXD_PATH
@@ -16,6 +16,10 @@ deps =
1616
pep8-naming
1717
commands = flake8 influxdb
1818

19+
[testenv:pep257]
20+
deps = pydocstyle
21+
commands = pydocstyle --count -ve examples influxdb
22+
1923
[testenv:coverage]
2024
deps = -r{toxinidir}/requirements.txt
2125
-r{toxinidir}/test-requirements.txt

0 commit comments

Comments
 (0)