Skip to content

Commit 80b1522

Browse files
bcallerBen Caller
authored and
Ben Caller
committed
Fix tox & linting, add linting to tox.ini
1 parent dd79d0f commit 80b1522

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

fastjsonschema/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# \/ \/ If you look at it, you might die.
55
#
66

7-
"""
7+
r"""
88
Installation
99
************
1010

pylintrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
ignore=tests
44

55
[MESSAGES CONTROL]
6-
# missing-docstring only for now, remove after this issue is deployed https://github.com/PyCQA/pylint/issues/1164
7-
disable=missing-docstring
6+
# missing-docstring can be removed after this issue is deployed https://github.com/PyCQA/pylint/issues/1164
7+
disable=duplicate-code,missing-docstring
88

99
[REPORTS]
1010
output-format=colorized

tox.ini

+9-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py{34,35,36,37}
7+
envlist = py{34,35,36,37},lint
88

99
[testenv]
10-
whitelist_externals =
10+
deps =
1111
pytest
1212
commands =
13-
pytest
13+
pytest -m "not benchmark"
14+
15+
[testenv:lint]
16+
deps =
17+
pylint
18+
commands =
19+
pylint fastjsonschema

0 commit comments

Comments
 (0)