Skip to content

Commit

Permalink
Tooling: Split out separate lint testenv in tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarnett committed Aug 23, 2024
1 parent 5c1ce40 commit d60ae29
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
[tox]
envlist = py38,py39,py310,py311,py312
requires =
tox>=4
envlist = lint, py3{8,9,10,11,12}

[testenv]
usedevelop=true
deps = pytest
pytest-cov
coverage
flake8
vobject

commands=py.test -vv --cov=./gcalcli --pyargs tests {posargs}
coverage html
flake8

[testenv:lint]
description = run linters
skip_install = true
deps = flake8
commands = flake8

0 comments on commit d60ae29

Please sign in to comment.