[.pre-commit-config.yaml]: Update flake8-bugbear #98
Workflow file for this run
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
# This is just a dummy workflow to handle skipped but required branch | |
# protection status checks | |
# (https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks). | |
# In the repository settings, one can specify workflows that must finish | |
# successfully before a pull request can be merged with the protected | |
# branch. However, these required workflows might not be triggered by | |
# all pull requests, depending on the triggering rules of the workflow. | |
# To handle the case when a workflow is required but not triggered, | |
# create a dummy workflow with exactly the same name as the required | |
# workflow that is always triggered when the required workflow is not | |
# triggered and that simulates a successful workflow run. See | |
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks | |
# However, be aware that both workflows are triggered if two (or more) | |
# files are changed and one of them is listed in the requested | |
# workflow's `paths` list (which is the same as this workflow's | |
# `paths-ignore` list) and the other is not. See | |
# https://github.com/github/docs/issues/21865 | |
# Keep in sync with `test.yml`. | |
name: "Tests" | |
on: | |
push: | |
branches: | |
- "**" | |
paths-ignore: | |
- ".github/**" | |
- "**.py" | |
- "**.rst" | |
- "docs/**" | |
- ".flake8" | |
- "pyproject.toml" | |
- "**requirements*.txt" | |
tags-ignore: | |
- "v[0-9]*" | |
jobs: | |
test: | |
strategy: | |
matrix: | |
# Tests must be run on all target platforms and Python versions | |
os: | |
- "ubuntu-latest" | |
- "macos-latest" | |
- "windows-latest" | |
python-version: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
# Do not cancel in-progress jobs if any matrix job fails | |
fail-fast: false | |
runs-on: "${{ matrix.os }}" | |
steps: | |
- name: "Skip" | |
run: | | |
echo "${{ github.job }} (${{ matrix.os }}, ${{ matrix.python-version }}) skipped (no files to check)" |