PyCharm + Python + unittest + coverage: using setup.cfg for config file

I enjoy using PyCharm and am learning how to use it's coverage run configuration.

Per this article: Speed Up Coverage with Configuration File

I see one can configure coverage using .coveragerc.

My framework uses setup.cfg to house its configurations for a bunch of tools (including coverage).

Is there some way to have PyCharm's coverage run configuration use setup.cfg?


  • PyCharm PE 2020.1.4
  • Python 3.8.2

Please sign in to leave a comment.