Skip to content

Commit

Permalink
Issue #16 Enable black github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Jan 24, 2024
1 parent 163018d commit 414fbea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
python -m pip install isort black ruff
- name: isort
run: python -m isort . --check --diff
# - name: black
# run: python -m black --check --diff .
- name: black
run: python -m black --check --diff .
- name: ruff
run: ruff check .
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ addopts = [
profile = "black"


[tool.black]
line-length = 99


[tool.ruff]
# line-length = 100

Expand All @@ -76,4 +80,3 @@ ignore = [
"E501", # Ignore "line-too-long" issues, let black handle that.
]


0 comments on commit 414fbea

Please sign in to comment.