From 75911dd47efdb9da23641d3935a89bc4d2c83343 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Tue, 24 Oct 2023 21:49:41 -0400 Subject: [PATCH] ci: Allow pre-commit to autofix files (bis) --- .github/workflows/lint.yml | 3 +++ requirements_dev.txt | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cf4659f..9811db9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,6 +10,8 @@ jobs: contents: write steps: - uses: actions/checkout@v4 + with: + token: ${{ secrets.PAT }} - uses: actions/setup-python@v4 with: python-version: '3.10' @@ -24,6 +26,7 @@ jobs: - uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: '[github-actions] pre-commit autoupdate' + push_options: --force - shell: bash run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash - - shell: bash diff --git a/requirements_dev.txt b/requirements_dev.txt index 1bd22bc..4a8f156 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -84,7 +84,10 @@ et-xmlfile==1.1.0 # -r requirements.txt # openpyxl exceptiongroup==1.1.1 - # via trio-websocket + # via + # pytest + # trio + # trio-websocket flake8==3.9.2 # via -r requirements_dev.in flattentool==0.19.0 @@ -263,6 +266,11 @@ sqlparse==0.4.4 # django toml==0.10.2 # via coverage +tomli==2.0.1 + # via + # build + # pyproject-hooks + # pytest transaction==3.0.1 # via # -r requirements.txt