Skip to content

Commit

Permalink
Merge pull request #78 from bento-platform/add-CI-lint
Browse files Browse the repository at this point in the history
add lint.yml
  • Loading branch information
gsfk authored Apr 9, 2024
2 parents 38cb3c0 + b79b77a commit 4e964cb
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint

on:
push:
branches:
- master
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Set up Python
with:
python-version: "3.10"
- name: Install black
run: python -m pip install black
- name: Run linter
run: black --check --line-length=120 ./bento_beacon

0 comments on commit 4e964cb

Please sign in to comment.