Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

協作流程 #11

Open
fukuball opened this issue Jun 22, 2016 · 6 comments
Open

協作流程 #11

fukuball opened this issue Jun 22, 2016 · 6 comments
Labels

Comments

@fukuball
Copy link
Collaborator

  1. 任一協作者認為有需要的工作事項,就可開 issue 出來,其他人有任何疑問可以在 issue 上討論,讓 issue 更明確
  2. 協作者可以自行認領 issue 進行工作,確認認領 issue 時請將 Assignees 設成認領者
  3. 為認領的 issue 開一個 branch 出來進行工作,branch 以 issue 進行命名
  4. Coding Style 使用 PEP8 標準,發出 pull request 前要用 pep8 套件做檢查再發出
  5. 工作完成發出 pull request 由其他任一協作者進行 review
  6. Review 時有任何問題可以及時反應,讓 pull request 可以及時修改
  7. 由 Reviewer 進行 merge,如果 merge 遇到 conflict 則通知發出 pull request 的人進行修復,之後再 merge
  8. Merge 完畢將 issue branch 刪除
@fukuball
Copy link
Collaborator Author

@ckmarkoh @drumrick 這是目前初步想到的協作流程,看看有沒有漏掉的地方,我們可以試行看看變做邊修~

@fukuball
Copy link
Collaborator Author

pep8 對於行的長度限制只有 80 字元,有點嚴格,行的長度限制這個部分我們要忽略嗎?

@drumrick
Copy link
Collaborator

pep8延伸是說可以到100
但是pycharm好像是用120
不管也是還好,現在螢幕很大
我都可以

@fukuball
Copy link
Collaborator Author

目前我是傾向忽略這條規則

@drumrick
Copy link
Collaborator

我寫了這個 pre-commit hook
https://gist.github.com/drumrick/6c0d21817395c36143b453f88fe13406
只會檢查 cached *.py 檔案,忽略最大行數80的限制

@fukuball
Copy link
Collaborator Author

@drumrick 酷耶!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants