Is there a way we can skip the install of `pytest-...
# general
r
Is there a way we can skip the install of
pytest-cov
when running the
test
goal? Not really sure why the requirement is being installed by default.
h
Hey, it's being installed so that the coverage integration works. If you don't want to use coverage in your repo, you can set
[pytest].pytest_plugins = []
in
pants.toml
. Warning that trying to use coverage will error if you do that
r
okay I have some customization for that pytest integration already:
Copy code
[pytest]
version = "pytest==3.1.1"
pytest_plugins.add = [
  "pytest-django==2.9.1",
  "pytest-faulthandler==1.3.1"
]
h
Cool, so you can get rid of the
.add
part and it will override the default, rather than adding to it
1
r
ahhh let me try that 🙂
@hundreds-father-404 that did the trick thank you!
🙌 1