refined-addition-5364401/20/2023, 3:40 PM
happy-kitchen-8948201/20/2023, 4:10 PM
refined-addition-5364401/20/2023, 4:11 PM
option inside the config file. I am using
. So I set
[tool.coverage.run] omit = ["*/tests/*"] source = [ "source1", "source2", "source3", ]
when the filter option is provided. But the results don’t match with running pytest locally with
pytest --cov=source ..
option. It does include all the source files inside the source directory. In case of pants that doesn’t happen.