aboutcode-org / aboutcode-org/python-inspector

An invalid `requirements.txt` file is silently accepted

Đang mở
#178 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
23
Fork
28
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

If `requirements.txt` contains wrongly formatted content like

```
Package Version
--------------- -----------
wheel 0.41.2
```

then PI accepts this without any error but returns no dependencies. Plain `pip` would say

ERROR: Invalid requirement: 'Package Version' (from line 1 of requirements.txt)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.