Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

[linkquoter] dont error when linkquoting stickers (#172) #1067

[linkquoter] dont error when linkquoting stickers (#172)

[linkquoter] dont error when linkquoting stickers (#172) #1067

Workflow file for this run

name: tests
on: [push]
jobs:
black:
name: Style Reformatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.8"
- run: "make install"
name: Install requirements
- run: "make reformat"
continue-on-error: true
name: Style reformatting
- name: Commit changes
continue-on-error: true
run: |
git config --local committer.email "noreply@github.com"
git config --local committer.name "GitHub"
git config --local author.email "${{ github.actor }}@users.noreply.github.com"
git config --local author.name "{{ github.actor }}"
git add -A
git commit -m "Style Reformatting"
git push "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" HEAD:${GITHUB_REF#refs/heads/}
lint_python:
name: Lint Python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ env.ref }}
- uses: actions/setup-python@v2
with:
python-version: "3.8"
- run: "python -m pip install flake8"
name: Install Flake8
- run: "python -m flake8 . --count --select=E9,F7,F82 --show-source"
name: Flake8 Linting