Browse Source
Update ruff configuration to exclude docs/tests formatting
pull/10440/head
Jakub Kuczys
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
1 deletions
-
.github/workflows/lint.yml
-
pyproject.toml
|
|
|
@ -45,4 +45,4 @@ jobs: |
|
|
|
- name: Run ruff |
|
|
|
if: ${{ always() && steps.install-deps.outcome == 'success' }} |
|
|
|
run: | |
|
|
|
ruff format --check discord examples |
|
|
|
ruff format --check |
|
|
|
|
|
|
|
@ -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 |
|
|
|
|