Skip to content

Commit

Permalink
tests: only run pylint in Tox environments, i.e. CI (#230)
Browse files Browse the repository at this point in the history
Do not run them by default downstream, in e.g. distributions testing the package works properly.

Co-authored-by: John Kurkowski <[email protected]>
  • Loading branch information
sbraz and john-kurkowski authored Aug 30, 2021
1 parent 70aecc3 commit df1831e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[pytest]
addopts = --doctest-modules --pylint
addopts = --doctest-modules
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ deps =
pytest-pylint
responses

commands = pytest {posargs}
commands = pytest --pylint {posargs}

[testenv:codestyle]
deps = pycodestyle
Expand Down

0 comments on commit df1831e

Please sign in to comment.