Skip to content

Commit

Permalink
Remove blacken-docs CI and package (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas authored Apr 15, 2024
1 parent 7eb7d37 commit 77dd5b3
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 103 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,29 +59,6 @@ jobs:
- name: 🚀 Run Ruff formatter
run: poetry run ruff format --check .

black:
name: black
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4.1.1
- name: 🏗 Set up Poetry
run: pipx install poetry
- name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
id: python
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ env.DEFAULT_PYTHON }}
cache: "poetry"
- name: 🏗 Install workflow dependencies
run: |
poetry config virtualenvs.create true
poetry config virtualenvs.in-project true
- name: 🏗 Install Python dependencies
run: poetry install --no-interaction
- name: 🚀 Run black on docs
run: poetry run blacken-docs

pre-commit-hooks:
name: pre-commit-hooks
runs-on: ubuntu-latest
Expand Down
6 changes: 0 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ repos:
entry: poetry run ruff format
require_serial: true
stages: [commit, push, manual]
- id: blacken-docs
name: ☕️ Format documentation examples using black
language: system
files: '\.(rst|md|markdown|py|tex)$'
entry: poetry run blacken-docs
require_serial: true
- id: check-ast
name: 🐍 Check Python AST
language: system
Expand Down
74 changes: 1 addition & 73 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Changelog = "https://github.com/klaasnicolaas/python-odp-gent/releases"

[tool.poetry.group.dev.dependencies]
aresponses = "3.0.0"
blacken-docs = "1.16.0"
codespell = "2.2.6"
covdefaults = "2.3.0"
coverage = {version = "7.4.4", extras = ["toml"]}
Expand Down

0 comments on commit 77dd5b3

Please sign in to comment.