Skip to content

Add node_modules to norecursedirs #8023

@adamchainz

Description

@adamchainz

norecursedirs defaults to ignore some common directories, including a common name for Python virtualenvs, venv.

On web projects (or any project using some JS), it's common to have a node_modules directory, with massive numbers of files. Test collection on such projects can take a minute or more even on fast computers without adding node_modules to norecursedirs.

I suggest adding node_modules to the default norecursedirs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueeasy issue that is friendly to new contributorstatus: help wanteddevelopers would like help from experts on this topictopic: collectionrelated to the collection phasetype: backward compatibilitymight present some backward compatibility issues which should be carefully noted in the changelogtype: enhancementnew feature or API change, should be merged into features branchtype: proposalproposal for a new feature, often to gather opinions or design the API around the new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions