Skip to content

Commit ac50c5f

Browse files
refeedtimabbott
authored andcommitted
Add black check into CI and badge in README.md.
Fixes #60.
1 parent c0d7a9c commit ac50c5f

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/lint.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Linting
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
black:
7+
runs-on: ubuntu-latest
8+
name: Black linting
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: psf/black@stable
12+
with:
13+
options: "--check"
14+
src: "."

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Zulip HTML archive
22

3+
[![code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
4+
35
Generates an HTML archive of a configured set of streams within a
46
[Zulip](https://zulip.com) organization (usually all public
57
streams).

0 commit comments

Comments
 (0)