Browse Source

Update ruff configuration to exclude docs/tests formatting

pull/10440/head
Jakub Kuczys 3 months ago
committed by GitHub
parent
commit
02b819cd0b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/lint.yml
  2. 1
      pyproject.toml

2
.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

1
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

Loading…
Cancel
Save