| description |
|---|
OpenAI Codex CLIを使用したコードレビュー。ローカル差分レビュー、ファイル単体レビュー、未コミット変更のレビューに対応。 |
OpenAI Codex CLIを使用してコードレビューを実行する。
| -- Copyright 2025 taichi | |
| -- | |
| -- Licensed under the Apache License, Version 2.0 (the "License"); | |
| -- you may not use this file except in compliance with the License. | |
| -- You may obtain a copy of the License at | |
| -- | |
| -- http://www.apache.org/licenses/LICENSE-2.0 | |
| -- | |
| -- Unless required by applicable law or agreed to in writing, software | |
| -- distributed under the License is distributed on an "AS IS" BASIS, |
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| <templates> | |
| <template autoinsert="true" context="java-members" deleted="false" | |
| description="JUnit5 - Test Method" enabled="true" | |
| id="org.eclipse.jdt.ui.templates.junit5.test" name="test"><![CDATA[@${testType:newType(org.junit.jupiter.api.Test)} | |
| void ${testName}() throws Exception { | |
| ${staticImport:importStatic('org.junit.jupiter.api.Assertions.*')}${cursor} | |
| }]]></template> | |
| <template autoinsert="true" context="java-members" deleted="false" | |
| description="JUnit5 - Test Method with a temporary directory." enabled="true" |
pyproject.schema.json was copied from https://gist.github.com/zevisert/086638d2145d937a33bf570ace8cba4a
| package com.example.hssf; | |
| import org.apache.poi.hssf.usermodel.HSSFClientAnchor; | |
| import org.apache.poi.hssf.usermodel.HSSFSheet; | |
| import org.apache.poi.hssf.usermodel.HSSFSimpleShape; | |
| import org.apache.poi.hssf.usermodel.HSSFWorkbook; | |
| import org.apache.poi.poifs.filesystem.POIFSFileSystem; | |
| import org.junit.Test; | |
| import java.io.File; |
| linters-settings: # 設定のデフォルト値は、https://github.com/golangci/golangci-lint/blob/master/.golangci.example.yml で確認できる | |
| depguard: # packagesに宣言されているモジュールの取り扱いに関するルール。ブラックリスト形式で使っているので、列挙したものを使うとエラーになる。 | |
| list-type: blacklist | |
| packages: | |
| - golang.org/x/xerrors # go 1.13で必要な機能はすべてerrorsに取り込まれたので使わない | |
| - github.com/rs/zerolog # ログ出力用のライブラリはプロジェクト内部に作ったファクトリ関数経由で使うため | |
| packages-with-error-message: | |
| - golang.org/x/xerrors: "エラー処理は標準のerrorsを使って下さい。スタックトレースが必要な場合のみpkg/errorsを使って下さい" | |
| - github.com/rs/zerolog: "ログ出力は example.com/myproject/logger#Newから利用して下さい" | |
| dupl: # コードのコピペを検出するルール。 閾値のトークン数を越えるものをエラーにする |
| --disable-self-update-check false | |
| --child-concurrency 1 | |
| --network-timeout 1000000 |