3

I know how to find the number of CPUs using Python, but how do I do that within a tox.ini file?

What I want is something akin to this:

commands =
  py.test --cov=ook -n ${number_of_cpu_I_can_use}
Community
  • 1
  • 1
Sardathrion - against SE abuse
  • 17,269
  • 27
  • 101
  • 156

0 Answers0