[tox]
envlist = py{27,37,38,39}, flake8

[testenv]
commands = {envpython} -m unittest discover -v tests

[testenv:coveralls]
basepython = python2.7
passenv =
    COVERALLS_REPO_TOKEN
deps = coveralls
commands =
    coverage run --source=backquotes.py -m unittest discover tests
    coveralls

[testenv:flake8]
basepython = python2.7
deps = flake8
commands = flake8 backquotes.py setup.py

[tox]
envlist = py{27,37,38,39}, flake8

[testenv]
commands = {envpython} -m unittest discover -v tests

[testenv:coveralls]
basepython = python2.7
passenv =
    COVERALLS_REPO_TOKEN
deps = coveralls
commands =
    coverage run --source=backquotes -m unittest discover tests
    coveralls

[testenv:flake8]
basepython = python2.7
deps = flake8
commands = flake8 backquotes.py setup.py

Remove unnecessary file extension for source option
Remove unnecessary file extension for source option

This causes the following warning and prevent `coverage` from collecting data.
> Coverage.py warning: Module backquotes.py was never imported.  (module-not-imported)
> Coverage.py warning: No data was collected. (no-data-collected)
