Skip to content

Commit

Permalink
ci: update blacken-docs in line with MR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
znicholls committed Aug 24, 2023
1 parent 101be2a commit 1f3d798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: mypy
run: poetry run mypy src
- name: docs-linting
run: poetry run blacken-docs --check docs/source/notebooks/*.md
run: poetry run blacken-docs docs/source/notebooks/*.md
- name: docs
run: poetry run sphinx-build -W --keep-going -b html docs/source docs/build

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -24,7 +24,7 @@ checks: ## run all the linting checks of the codebase
@echo "=== black ==="; poetry run black --check src tests docs/source/conf.py scripts || echo "--- black failed ---" >&2; \
echo "=== ruff ==="; poetry run ruff check src tests scripts || echo "--- ruff failed ---" >&2; \
echo "=== mypy ==="; poetry run mypy src || echo "--- mypy failed ---" >&2; \
echo "=== black docs ==="; poetry run blacken-docs --check docs/source/notebooks/*.md || echo "--- black docs failed ---" >&2; \
echo "=== black docs ==="; poetry run blacken-docs docs/source/notebooks/*.md || echo "--- black docs failed ---" >&2; \
echo "======"

.PHONY: black
Expand Down

0 comments on commit 1f3d798

Please sign in to comment.