`requirements-txt-fixer` ordering breaks using --index-url and --extra-index-url together in requirements.txt
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
Start at the requirements-txt-fixer hook entry point and trace how --index-url and --extra-index-url are ordered in requirements.txt. Check the related tests if present, then verify that --index-url remains before --extra-index-url so both settings are honored.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
If you use both the --index-url and --extra-index-url flags together in a requirements.txt file the hook will put --extra-index-url above the --index-url which causes the url set to index-url be skipped. I suppose this is because the flags are also sorted alphabetically.
- Ngôn ngữ chính
- Python
- Star
- 6.7k
- Fork
- 800
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pre-commit/pre-commit-hooks
-
Immutable Releases Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
pre-commit/pre-commit-hooks#1218 · 4 bình luận · 2 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pre-commit/pre-commit-hooks#1020 · 8 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
pre-commit/pre-commit-hooks#780 · 5 bình luận · 2 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
pre-commit/pre-commit-hooks#749 · 1 reaction ·
-
Ban unarmored GPG keys Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
pre-commit/pre-commit-hooks#339 · 18 bình luận · 2 reaction ·
Tất cả issue của pre-commit/pre-commit-hooks
Issue tương tự
-
link-check link-check:sphinx-theme
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
OpenHands/extensions#626 · 1 bình luận ·
-
Change observation tooltip text Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
CSCfi/sd-search-api#39 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100