Request to re-evaluate options for #1273
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Start by reviewing issue #1273 and the current CLI behavior described here. Compare the proposed flag names and determine how one invocation should select special rules while disabling noqa only for them; done means the behavior is agreed and no longer requires two flake8 runs.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
describe the request
Hi - thanks for the project!
In some projects I work in, we have a bunch of flake8 rules, but a few "extra special please dont turn off" rules which we run with --disable-noqa. Currently, this process requires running flake8 twice, once flake8 then again flake8 --disable-noqa --select MYRULE1.
I found this old issue which I think looked to solve this #1273. I wonder if y'all see value in revisiting this as a seperate CLI flag --disable-noqa-select or --select-disable-noqa (or whatever!) to prevent the need to do this dual-running.
The initial author did mention
I'd be happy to convert this to a separate option if the risk is unacceptable, but this felt cleaner and more user-friendly to me.
but I dont think that was ever explored.
Happy to work on this issue if there is appetite!
- Ngôn ngữ chính
- Python
- Star
- 3.8k
- Fork
- 362
- Merge trung bình
- 3 giờ 50 phút
- Pull request đã merge (30 ngày)
- 7
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 PyCQA/flake8
-
Max Line Length in style guide ignored with python 3.14 when checking multiple filesCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
-
option_manager.add_option ignores action when reading from configCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Nixtla/mlforecast#823 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
microsoft/ML-For-Beginners#1061 ·
-
bot-found documentation priority: P3
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 82/100
madenvel/KalinkaPlayer#503 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
EleutherAI/lm-evaluation-harness#4508 ·
Maintainer thường phản hồi trong vòng 1 ngày