diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 73992a155..2c9f648a8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -45,4 +45,4 @@ jobs: - name: Run ruff if: ${{ always() && steps.install-deps.outcome == 'success' }} run: | - ruff format --check discord examples + ruff format --check diff --git a/pyproject.toml b/pyproject.toml index 37b5f5bc5..360676812 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -91,6 +91,7 @@ include-package-data = true [tool.ruff] line-length = 125 +extend-exclude = ["docs", "tests"] [tool.ruff.lint.isort] combine-as-imports = true