`os.path.split(__file__)[0]` → `os.path.dirname()`
Open
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
* `os.path.dirname` or `os.path.basename` instead of `os.path.split` when possible
* `os.path.split(__file__)[0]` → `os.path.dirname()`
* `os.path.split(__file__)[-1]` → `os.path.basename()`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.