mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-09-20 19:17:42 +00:00
Update ruff configuration to exclude docs/tests formatting
This commit is contained in:
@@ -45,4 +45,4 @@ jobs:
|
|||||||
- name: Run ruff
|
- name: Run ruff
|
||||||
if: ${{ always() && steps.install-deps.outcome == 'success' }}
|
if: ${{ always() && steps.install-deps.outcome == 'success' }}
|
||||||
run: |
|
run: |
|
||||||
ruff format --check discord examples
|
ruff format --check
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ include-package-data = true
|
|||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 125
|
line-length = 125
|
||||||
|
extend-exclude = ["docs", "tests"]
|
||||||
|
|
||||||
[tool.ruff.lint.isort]
|
[tool.ruff.lint.isort]
|
||||||
combine-as-imports = true
|
combine-as-imports = true
|
||||||
|
|||||||
Reference in New Issue
Block a user