Repository navigation
Count a daylight saving change in timesince for every aware datetime #35
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Ruff rewrites quote styles and capitalises docstrings without any help | |
| # from a person, so a contributor should never have to. This hands those | |
| # fixes to the autofix.ci app, which commits them to the pull request | |
| # branch, forks included. The existing lint gate still reports any | |
| # findings that ruff cannot fix. | |
| # | |
| # The filename and the workflow name are both fixed by autofix.ci, which | |
| # uses them to identify the workflow it trusts. Renaming either one stops | |
| # the app from accepting the patch. | |
| name: autofix.ci # needed to securely identify the workflow | |
| on: | |
| pull_request: | |
| push: | |
| branches: [develop, master] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| autofix: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| with: | |
| persist-credentials: false | |
| - uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 | |
| with: | |
| python-version: '3.13' | |
| - run: uvx --with tox-uv tox -e ruff-fix | |
| - uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a # v1.3.4 |