github / github/codeql

Python poetry alerts

Đang mở
#9,897 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

I've setup basic CodeQL pipeline for python and I'm using poetry as dependency manager.

What I found out is that if file `poerty.toml` with configuration below is present (venv is created in `$PWD/.venv`)
```
[virtualenvs]
in-project = true
```

then the pipeline starts report bunch of alerts regarding urllib, requests, etc.
![image](https://user-images.githubusercontent.com/22962839/181042606-275e1d3e-b792-4ab7-93f2-9f27dde45fe3.png)

If I remove `poetry.toml` the alerts are gone (venv is created in `/home/runner/.cache/pypoetry/virtualenvs`)

I'm not sure if I should be getting the alerts or not. However the behavior should be consistent in both cases.

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

Mở hướng dẫn đóng góp

Đá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.