HomeSoftware Heritage

Tell pytest not to recurse in dotdirs.

Description

Tell pytest not to recurse in dotdirs.

pytest wastes a lot of time in .hypothesis and .git; this commit
excludes them.

Before:

$ time pytest --collect-only > /dev/null
pytest --collect-only > /dev/null 6.93s user 0.51s system 100% cpu 7.425 total

After:

$ time pytest --collect-only > /dev/null
pytest --collect-only > /dev/null 2.39s user 0.10s system 100% cpu 2.475 total

Details

Provenance
vlorentzAuthored on Aug 24 2020, 6:23 PM
vlorentzPushed on Aug 25 2020, 10:28 AM
Differential Revision
D3836: Tell pytest not to recurse in dotdirs.
Parents
rDSTOf3870dcd07dc: 161: Fix sql upgrade script
Branches
Unknown
Tags
Unknown
Build Status
Buildable 14772
Build 22768: test-and-buildJenkins console · Jenkins