Skip to content

Commit

Permalink
Merge pull request #12 from kumaranvpl/twice
Browse files Browse the repository at this point in the history
Twice the changes, twice the fun
  • Loading branch information
kumaranvpl authored Nov 26, 2024
2 parents 2b2fc6f + 2187102 commit c4ba38e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 47 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/pr_lint.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: Generate API References documentation
name: Run linting, update API References and commit changes

on:
pull_request_target:
types:
- opened
- synchronize
- ready_for_review
paths:
- faststream/**

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -32,13 +30,19 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Set $PY environment variable
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
shell: bash
# should install with `-e`
run: |
set -ux
uv pip install --system -e .[dev]
- uses: pre-commit/[email protected]
continue-on-error: true
with:
extra_args: --hook-stage manual --all-files
- name: Run build docs
run: bash scripts/build-docs.sh
- name: Commit
Expand Down
8 changes: 8 additions & 0 deletions faststream/dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ def __init__(self) -> None:

def strange_method(self) -> str:
return "strange"


class Twice:
def __init__(self) -> None:
pass

def twice_method(self) -> str:
return "twice"

0 comments on commit c4ba38e

Please sign in to comment.