Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

53 changes: 53 additions & 0 deletions lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Lint with write-good and doc8

on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'

- name: Install doc8
run: |
python -m pip install -U pip setuptools wheel
python -m pip install doc8
python -m pip install -U sphinx
python -m pip install restructuredtext_lint

- name: Run doc8
run: doc8 *.rst

- name: Run rst-lint
run: |
rst-lint .
style:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4

- name: Install dependencies
run: npm install -g write-good

- name: Run write-good
run: write-good *.rst --so --thereIs --cliches