diff --git a/.cruft.json b/.cruft.json index 7bf7fdb..f0e95a4 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/allenporter/cookiecutter-python", - "commit": "21b1c4d83f68790fef4702cb875dc971584d391e", + "commit": "de9b638419c3a125748f698e36d404db5f06902f", "checkout": null, "context": { "cookiecutter": { diff --git a/.github/workflows/cruft.yaml b/.github/workflows/cruft.yaml index 9d5172c..3d56db1 100644 --- a/.github/workflows/cruft.yaml +++ b/.github/workflows/cruft.yaml @@ -4,6 +4,7 @@ permissions: contents: write pull-requests: write actions: write + workflows: write on: schedule: - cron: "0 0 * * *" @@ -11,9 +12,10 @@ on: jobs: update: + if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest strategy: - fail-fast: true + fail-fast: false matrix: include: - add-paths: . diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 3d421c7..b944461 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -48,7 +48,7 @@ jobs: - name: Run Ruff Format run: | - ruff format . + ruff format --check . - name: Static typing with ty run: | diff --git a/.gitignore b/.gitignore index 8d029dd..b06b1c7 100644 --- a/.gitignore +++ b/.gitignore @@ -155,3 +155,6 @@ service_account.json client_secret*.json token.json docs/ + +# Merge conflict rejects +*.rej diff --git a/.ruff.toml b/.ruff.toml index b53110a..9a72914 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -1,5 +1,6 @@ target-version = "py313" +extend-exclude = ["*.ipynb"] [lint] -ignore = ["E501"] +ignore = ["E501", "RUF022"] extend-select = ["PLC0415"]