Use mdformat for markdown formatting (#4244)

* Replace skip footnote with html block

* Remove unnecessary duration columns

* Add mdformat to pyproject

* Start to use mdformat-toc

* Remove table of contents headers

* Fix empty header

* Finally, run mdformat

* Remove doctoc from CI

* Fix issue with eip7732

* Error if linter changes something in CI
This commit is contained in:
Justin Traglia
2025-04-03 09:37:21 -05:00
committed by GitHub
parent 6032a2d6cb
commit d181573bd2
96 changed files with 1343 additions and 1798 deletions

View File

@@ -29,20 +29,15 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node.js
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: '20'
cache: ''
- name: Setup Python
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
with:
python-version: '3.12.4'
cache: ''
- name: Install doctoc
run: npm install -g doctoc@2.2.0
- name: Run linter for pyspec
run: make lint
run: |
make lint
git diff --exit-code
whitespace:
runs-on: [self-hosted-ghr-custom, size-l-x64, profile-consensusSpecs]