Skip to content

Commit

Permalink
Merge branch 'main' of github.com:rieder/fresco
Browse files Browse the repository at this point in the history
  • Loading branch information
rieder committed Jan 26, 2024
2 parents 4eb0866 + a5cb9d7 commit f36b086
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 23 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/lint.yml
@@ -0,0 +1,41 @@
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

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install Python dependencies
run: pip install black flake8

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

This file was deleted.

0 comments on commit f36b086

Please sign in to comment.