diff --git a/.github/workflows/pre_commit.yml b/.github/workflows/pre_commit.yml index d203cee..aa92e2f 100644 --- a/.github/workflows/pre_commit.yml +++ b/.github/workflows/pre_commit.yml @@ -1,9 +1,6 @@ name: Lint -on: - push: - branches: - - main +on: pull_request jobs: pre_commit: @@ -11,12 +8,11 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: '3.12' - architecture: 'x64' + python-version: '3.13' - name: Set up pre-commit run: | python -m pip install --upgrade pip diff --git a/.gitmodules b/.gitmodules index e69de29..24582cd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "platanus"] + path = platanus + url = https://github.com/sukeya/platanus.git diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 367d5fe..c3a3919 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +default_stages: [pre-commit, pre-push] repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 diff --git a/platanus b/platanus new file mode 160000 index 0000000..a939249 --- /dev/null +++ b/platanus @@ -0,0 +1 @@ +Subproject commit a9392495db854a17d0acdc1130504b209021352c