Skip to content

Commit

Permalink
Update and rename pylint.yml to lint.yml
Browse files Browse the repository at this point in the history
Use black instead of pylint
  • Loading branch information
rieder committed Nov 9, 2023
1 parent 72824b3 commit 98e49cd
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 23 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/lint.yml
@@ -0,0 +1,35 @@
name: Lint

on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
# Replace pull_request with pull_request_target if you
# plan to use this action with forks, see the Limitations section
pull_request:
branches:
- main

# Down scope as necessary via https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
checks: write
contents: write

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v4

# Install your linters here

- name: Run linters
uses: wearerequired/lint-action@v2
with:
# Enable your linters here
black: true
23 changes: 0 additions & 23 deletions .github/workflows/pylint.yml

This file was deleted.

0 comments on commit 98e49cd

Please sign in to comment.