From 23ae9abff1656ea69306050f91bc7bf388755b38 Mon Sep 17 00:00:00 2001 From: Naoto Mizuno Date: Fri, 19 Nov 2021 09:54:52 +0900 Subject: [PATCH] Specify lint targets --- .github/workflows/python-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f37e711..553dfd5 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -29,12 +29,12 @@ jobs: - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + flake8 atcoder tests --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + flake8 atcoder tests --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Type check with mypy run: | - mypy . --exclude example/ + mypy atcoder tests - name: Test with pytest run: | pytest