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

The Not Rocket Science Rule (CI/CD) を実装する #37

Open
5 of 7 tasks
Tracked by #6
exflikt opened this issue Sep 18, 2024 · 1 comment
Open
5 of 7 tasks
Tracked by #6

The Not Rocket Science Rule (CI/CD) を実装する #37

exflikt opened this issue Sep 18, 2024 · 1 comment
Labels
task Work, todo, refactor by maintainers; see also 'ask' label

Comments

@exflikt
Copy link
Collaborator

exflikt commented Sep 18, 2024

参考: https://matklad.github.io/2024/03/22/basic-things.html#Build-CI
読み物(読まなくていい): The Not Rocket Science Rule

main にマージするときの確認事項:

  • tailwindcss バイナリで出力されたCSSファイルがコミットされたファイルと一致している
  • pyright コマンドを実行したときに型ヒントエラーがない
  • ruff check を実行したときにエラー・警告がない
  • ruff format --diff でリントエラー・警告が発生しない
  • JUST_UNSTABLE=1 just --fmt --check でjustfileのフォーマットエラー・警告が発生しない

定期的にチェックしたい事項:

  • dependabot で pyproject.toml で列挙されている依存ライブラリのバージョンが最新になっていることを確かめる
  • もしくは、uv sync --locked でパッケージが最新版であることを確認する
@exflikt exflikt changed the title を実装する The Not Rocket Science Rule を実装する Sep 18, 2024
@exflikt exflikt added the task Work, todo, refactor by maintainers; see also 'ask' label label Sep 18, 2024
@exflikt exflikt changed the title The Not Rocket Science Rule を実装する The Not Rocket Science Rule (CI/CD) を実装する Sep 27, 2024
@exflikt
Copy link
Collaborator Author

exflikt commented Oct 7, 2024

anext を使うためには requires-python = ">=3.10" が必要というチェックエラーが出たので、 73b90daruff--ignore F821 フラッグを追加した。
いまのpyproject.toml は requires-python = ">=3.12" なんだけどなぁ、と思っていたら空白であっても [tool.ruff] セクションが必要であるとのこと。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Work, todo, refactor by maintainers; see also 'ask' label
Projects
None yet
Development

No branches or pull requests

1 participant