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

Linter, Formatter を導入したい #59

Closed
supermomonga opened this issue Jun 14, 2021 · 3 comments
Closed

Linter, Formatter を導入したい #59

supermomonga opened this issue Jun 14, 2021 · 3 comments
Assignees

Comments

@supermomonga
Copy link
Contributor

プロジェクトで利用する Linter や Formatter を決定して、統一されたルールでコードをコミットしたい

背景

現状、手元では Pyright(VSCode Pylance 拡張経由)での静的型チェックが通り、 black でコードフォーマットが行われた状態で Pull request を出しています。ただ、この辺りのツールは人によって好みが違うため、プロジェクトで採用ツールが定められていればそれに従ってコードを提出できるため嬉しいです。

また、ツールが定められていれば、GitHub Actions でのチェックや git pre-commit hook を用いたコミット前のチェック自動化などが検討できるかと思います。

@MtkN1
Copy link
Member

MtkN1 commented Jun 15, 2021

提案ありがとうございます!
blackとflake8を導入しましょう。

@MtkN1 MtkN1 self-assigned this Jun 15, 2021
MtkN1 added a commit that referenced this issue Jun 15, 2021
MtkN1 added a commit that referenced this issue Jun 15, 2021
@supermomonga
Copy link
Contributor Author

ありがとうございます!

@MtkN1
Copy link
Member

MtkN1 commented Jun 20, 2021

TODO:

  • コードにflake8適用
  • 自動化の設定

MtkN1 added a commit that referenced this issue Jun 21, 2021
MtkN1 added a commit that referenced this issue Jun 21, 2021
MtkN1 added a commit that referenced this issue Jun 21, 2021
✨v0.4.1リリース

✅Binanceのイベント仕様に従ってDataStoreを更新する #58
✅Bybit DataStoreのKline(ローソク足)のキーが足りていない #62
✅DataStoreにおいてWebSocketエラーメッセージのWarningを表示する #63

✅Python 3.7以外のテストが通っていない #51
✅Linter, Formatter を導入したい #59
@MtkN1 MtkN1 closed this as completed Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants