https://forge.softwareheritage.org/source/swh-scheduler.git
Revision af3789891f1e834a5e7a5b9f29b6a5596056fb7d authored by Valentin Lorentz on 21 January 2021, 11:04:55 UTC, committed by Valentin Lorentz on 21 January 2021, 11:04:55 UTC
It wasn't ran on d464b4cc1f9ae6a5c5c94a534826eff5cc27f12f.
1 parent b641ac8
Raw File
Tip revision: af3789891f1e834a5e7a5b9f29b6a5596056fb7d authored by Valentin Lorentz on 21 January 2021, 11:04:55 UTC
Run Black.
Tip revision: af37898
tox.ini
[tox]
envlist=black,flake8,mypy,py3

[testenv]
extras =
  testing
deps =
  pytest-cov
  dev: ipdb
setenv =
  LC_ALL=C.UTF-8
  LC_CTYPE=C.UTF-8
  LANG=C.UTF-8
commands =
      pytest --doctest-modules \
  !slow: --hypothesis-profile=fast \
  slow:  --hypothesis-profile=slow \
         --cov={envsitepackagesdir}/swh/scheduler \
         {envsitepackagesdir}/swh/scheduler \
         --cov-branch {posargs}

[testenv:black]
skip_install = true
deps =
  black==19.10b0
commands =
  {envpython} -m black --check swh

[testenv:flake8]
skip_install = true
deps =
  flake8
commands =
  {envpython} -m flake8

[testenv:mypy]
extras =
  testing
deps =
  mypy
commands =
  mypy swh
back to top