mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 04:11:28 +08:00
Autoformat YAML files (#9450)
This commit is contained in:
6
.github/workflows/daily.yml
vendored
6
.github/workflows/daily.yml
vendored
@@ -6,8 +6,8 @@ on:
|
||||
- cron: "0 0 * * *"
|
||||
pull_request:
|
||||
paths:
|
||||
- 'requirements-tests.txt'
|
||||
- '.github/workflows/daily.yml'
|
||||
- "requirements-tests.txt"
|
||||
- ".github/workflows/daily.yml"
|
||||
|
||||
# Please keep the permissions minimal, as stubtest runs arbitrary code from pypi.
|
||||
permissions:
|
||||
@@ -20,7 +20,7 @@ concurrency:
|
||||
env:
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
||||
FORCE_COLOR: 1
|
||||
TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817
|
||||
TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817
|
||||
|
||||
jobs:
|
||||
stubtest-stdlib:
|
||||
|
||||
8
.github/workflows/mypy_primer.yml
vendored
8
.github/workflows/mypy_primer.yml
vendored
@@ -4,10 +4,10 @@ on:
|
||||
# Only run on PR, since we diff against main
|
||||
pull_request:
|
||||
paths:
|
||||
- 'stdlib/**'
|
||||
- 'stubs/**/*.pyi'
|
||||
- '.github/workflows/mypy_primer.yml'
|
||||
- '.github/workflows/mypy_primer_comment.yml'
|
||||
- "stdlib/**"
|
||||
- "stubs/**/*.pyi"
|
||||
- ".github/workflows/mypy_primer.yml"
|
||||
- ".github/workflows/mypy_primer_comment.yml"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
|
||||
8
.github/workflows/stubtest_stdlib.yml
vendored
8
.github/workflows/stubtest_stdlib.yml
vendored
@@ -7,9 +7,9 @@ on:
|
||||
- main
|
||||
pull_request:
|
||||
paths:
|
||||
- 'stdlib/**'
|
||||
- '.github/workflows/stubtest_stdlib.yml'
|
||||
- 'tests/**'
|
||||
- "stdlib/**"
|
||||
- ".github/workflows/stubtest_stdlib.yml"
|
||||
- "tests/**"
|
||||
# When requirements.txt changes, we run `daily.yml`, which includes stdlib stubtest
|
||||
|
||||
permissions:
|
||||
@@ -18,7 +18,7 @@ permissions:
|
||||
env:
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
||||
FORCE_COLOR: 1
|
||||
TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817
|
||||
TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
|
||||
8
.github/workflows/stubtest_third_party.yml
vendored
8
.github/workflows/stubtest_third_party.yml
vendored
@@ -3,9 +3,9 @@ name: Third-party stubtest
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'stubs/**'
|
||||
- '.github/workflows/stubtest_third_party.yml'
|
||||
- 'tests/**'
|
||||
- "stubs/**"
|
||||
- ".github/workflows/stubtest_third_party.yml"
|
||||
- "tests/**"
|
||||
# When requirements.txt changes, we run `daily.yml`, which includes third-party stubtest
|
||||
|
||||
permissions:
|
||||
@@ -14,7 +14,7 @@ permissions:
|
||||
env:
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
||||
FORCE_COLOR: 1
|
||||
TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817
|
||||
TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
|
||||
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@@ -7,8 +7,8 @@ on:
|
||||
- main
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- 'scripts/**'
|
||||
- "**/*.md"
|
||||
- "scripts/**"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -116,8 +116,8 @@ jobs:
|
||||
uses: SebRollen/toml-action@v1.0.2
|
||||
id: pyright_version
|
||||
with:
|
||||
file: 'pyproject.toml'
|
||||
field: 'tool.typeshed.pyright_version'
|
||||
file: "pyproject.toml"
|
||||
field: "tool.typeshed.pyright_version"
|
||||
- uses: jakebailey/pyright-action@v1
|
||||
with:
|
||||
version: ${{ steps.pyright_version.outputs.value }}
|
||||
@@ -137,7 +137,7 @@ jobs:
|
||||
version: ${{ steps.pyright_version.outputs.value }}
|
||||
python-platform: ${{ matrix.python-platform }}
|
||||
python-version: ${{ matrix.python-version }}
|
||||
no-comments: ${{ matrix.python-version != '3.10' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy.
|
||||
no-comments: ${{ matrix.python-version != '3.10' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy.
|
||||
|
||||
stub-uploader:
|
||||
name: Run the stub_uploader tests
|
||||
|
||||
@@ -7,10 +7,10 @@ on:
|
||||
- main
|
||||
pull_request:
|
||||
paths:
|
||||
- 'scripts/**'
|
||||
- 'tests/**'
|
||||
- '.github/workflows/typecheck_typeshed_code.yml'
|
||||
- 'requirements-tests.txt'
|
||||
- "scripts/**"
|
||||
- "tests/**"
|
||||
- ".github/workflows/typecheck_typeshed_code.yml"
|
||||
- "requirements-tests.txt"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user