Skip to content

Instantly share code, notes, and snippets.

@ranjanashish
Created June 2, 2018 03:35
Show Gist options
  • Save ranjanashish/a182246c70aefbfe3ba015de58701e21 to your computer and use it in GitHub Desktop.
Save ranjanashish/a182246c70aefbfe3ba015de58701e21 to your computer and use it in GitHub Desktop.
tox configuration for python projects
[tox]
envlist = py36
skipsdist = True
[testenv]
deps = -rrequirements/dev.txt
commands = pytest --full-trace -x --cov-report term --cov-report html --cov={{ project_name }}
[flake8]
exclude = tests/*
max-complexity = 10
import-order-style = pep8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment