style: modern typing in files.py #604
This file contains 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
--- | |
name: Test linting using the Darker GitHub Action | |
on: push # yamllint disable-line rule:truthy | |
jobs: | |
darker-github-action-linting-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run Darker's own GitHub action straight from the repository | |
uses: ./ | |
with: | |
options: --check --diff --color | |
src: action release_tools setup.py src/darker | |
revision: origin/master... | |
lint: flake8 | |
version: "@${{ github.ref_name }}" |