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

Consolidate inline tox dev dependencies into dependency groups

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

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

@candleindark đang làm issue này rồi.

Từ ngày 4/6/2026.

Đánh giá

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

Mô tả

Follow-up to #1873 / #1875.

The lint, typing, and reuse tox environments currently declare their dev dependencies inline in tox.ini. Those inline deps could instead be defined as PEP 735 [dependency-groups] in pyproject.toml and referenced from tox, giving a single source of truth for dev dependencies.

A concrete motivation: flake8 is currently duplicated, declared both in the style dependency group (added in #1875) and in [testenv:lint].

This is a consolidation/tidiness change, not a correctness fix, so it is proposed separately from #1875. The exact grouping is open for discussion (for example, whether pre-commit belongs in the style group or in a group of its own).

Caveat

tox's dependency_groups key requires tox >= 4.22. CI upgrades tox, but contributors with an older local tox would be affected. The docs environment (which uses -rdocs/requirements.txt) does not convert as cleanly and can be left as-is.

Ngôn ngữ chính
Python
Star
29
Fork
37
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
20

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 dandi/dandi-cli

Tất cả issue của dandi/dandi-cli

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.