From e3bca146c9159d3845debbd689452e0a6df2542f Mon Sep 17 00:00:00 2001 From: "repo-helper[bot]" <74742576+repo-helper[bot]@users.noreply.github.com> Date: Thu, 26 Nov 2020 22:23:51 +0000 Subject: [PATCH] Updated files with 'repo_helper'. --- .github/workflows/flake8.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/flake8.yml diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml new file mode 100644 index 00000000..167e2c0b --- /dev/null +++ b/.github/workflows/flake8.yml @@ -0,0 +1,33 @@ +# This file is managed by 'repo_helper'. Don't edit it directly. +--- +name: Flake8 + +on: + push: + pull_request: + branches: ["master"] + +jobs: + Run: + name: "Flake8" + runs-on: "ubuntu-18.04" + + steps: + - name: Checkout 🛎️ + uses: "actions/checkout@v2" + + - name: Setup Python 🐍 + uses: "actions/setup-python@v2" + with: + python-version: "3.8" + + - name: Install dependencies 🔧 + run: | + python -VV + python -m site + python -m pip install --upgrade pip setuptools wheel + python -m pip install flake8-prettycount + python -m pip install . + + - name: "Run Flake8" + run: "python -m flake8_prettycount flake8_github_action --format github"