ipython / ipython/ipykernel

Adopting `pre-commit` and Auto Formatting

Đang mở
#890 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
maintenance
Ngôn ngữ chính
Python
Star
734
Fork
412
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
8

Mô tả

We are adopting auto-formatting, including `black` and `isort` on all files. cf #889

From the [Django Enhancement Proposal to use Black](https://github.com/django/deps/blob/main/final/0008-black.rst):

Reformatting will also be disruptive for open pull requests. One way to update them is to run Black on modified files, keep a copy aside, start a new branch from "main", move the modified files back into place, and commit the result.

Contributors will be asked to install `pre-commit` locally. We also have the option to use `@meeseeksdev please run pre-commit` on PRs if needed.

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.