Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,10 @@
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"bungcip.better-toml",
"janisdd.vscode-edit-csv",
"charliermarsh.ruff",
"njpwerner.autodocstring",
"VisualStudioExptTeam.vscodeintellicode",
"KevinRose.vsc-python-indent",
"eamodio.gitlens",
"mhutchie.git-graph",
"ms-python.python",
"ms-python.vscode-pylance"
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
run:
poetry run python main.py --enable_create_model --enable_judge_survival --configs configs
python main.py --enable_create_model --enable_judge_survival --configs configs

format:
poetry run ruff check --fix .
poetry run black .
ruff check --fix .
black .
test:
poetry run pytest .
pytest .
5 changes: 4 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
@click.option("--enable_create_model", is_flag=True, help="モデル作成するか")
@click.option("--enable_judge_survival", is_flag=True, help="生存判定するか")
@click.option(
"--configs", type=click.Path(exists=True), default="configs", help="configsフォルダのパス"
"--configs",
type=click.Path(exists=True),
default="configs",
help="configsフォルダのパス",
)
def main(
enable_create_model: bool,
Expand Down
Loading