jaraco / jaraco/path

`Path.cwd()` is missing a return type annotation

Open
#243 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.1k
Forks
155
PR merge metrics
No merged PRs in 30d

Description

Mypy reports:

```
error: Call to untyped function "cwd" of "Path" in typed context [no-untyped-call]
```

–& indeed:

https://github.com/jaraco/path/blob/0f86209f11199ceaff788c73f96ea5b5ec2318ee/path/__init__.py#L254-L259

Contributor guide

No contributing guide indexed for this repository

Research direction

The implementation is in path/__init__.py at lines 254-259; start by reading Path.cwd() and its nearby annotations. Add the return type annotation, then run the relevant mypy check or project test suite and confirm the no-untyped-call error is gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.