Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Ignore files in subdirs of a hidden dir?

Đang mở
#2,866 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

Start by reproducing the reported behavior with codespell 2.2.4: compare files directly under a hidden directory with files under its non-hidden subdirectories, both with and without --skip .git. The issue names no source files or tests, so locate the directory traversal entry point and related tests from there. Done means files beneath hidden directories are handled consistently with the expected default behavior discussed in PR 1555.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I would think from https://github.com/codespell-project/codespell/pull/1555 that this should be the default behavior. However, although --skip .git, for example, does work properly, not applying this leads to files under non-hidden subdirectories of .git being included in the search. Files directly under a hidden directory do not get included (AFAICT).

Using codespell 2.2.4

Related: https://github.com/codespell-project/actions-codespell/issues/56

Ngôn ngữ chính
Python
Star
2.4k
Fork
531
Merge trung bình
15 giờ 55 phút
Pull request đã merge (30 ngày)
17

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codespell-project/codespell

Tất cả issue của codespell-project/codespell

Issue tương tự

Thêm issue về Python

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.