pytest-dev / pytest-dev/pytest
more safe defaults for norecursedirs
Open
Nobody has claimed this yet.
type: enhancement
- Dominant language
- Python
- Stars
- 14.5k
- Forks
- 3.4k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 35
Description
#1978 exposed that some norecurse directories have a name that is very sane to use outside of a project root
this issue is pretty tricky to debug
we should evaluate more strict evaluation of those and allowing folder names like "build" and "dist" inside normal python packages
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with issue #1978 and investigate how norecursedirs evaluates directory names outside a project root. Compare the current behavior for names such as "build" and "dist" inside normal Python packages, then define stricter evaluation and verify that those package directories remain usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100