Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit286f703

Browse files
authored
docs(readme): add more info about commitlint, code-format
1 parent290e5ed commit286f703

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

‎README.rst

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212

1313
..image::https://img.shields.io/gitter/room/python-gitlab/Lobby.svg
1414
:target:https://gitter.im/python-gitlab/Lobby
15+
16+
..image::https://img.shields.io/badge/code%20style-black-000000.svg
17+
:target:https://github.com/python/black
1518

1619
Python GitLab
1720
=============
@@ -91,10 +94,27 @@ You can contribute to the project in multiple ways:
9194
* Add unit and functional tests
9295
* Everything else you can think of
9396

94-
Weprefer commit messages to be formatted using the `conventional-changelog<https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines>`_.
97+
Weenforce commit messages to be formatted using the `conventional-changelog<https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines>`_.
9598
This leads to more readable messages that are easy to follow when looking through the project history.
9699

97-
Provide your patches as github pull requests. Thanks!
100+
Please provide your patches as github pull requests. Thanks!
101+
102+
Code-Style
103+
----------
104+
105+
We use black as code formatter, so you'll need to format your changes using the
106+
`black code formatter
107+
<https://github.com/python/black>`_.
108+
109+
Just run
110+
111+
..code-block::bash
112+
113+
cd python-gitlab/
114+
pip3 install --user black
115+
black.
116+
117+
to format your code according to our guidelines.
98118

99119
Running unit tests
100120
------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp