From 7457e083017d7aa7b87b509f536679ae094d8782 Mon Sep 17 00:00:00 2001 From: Tony-HYX <605698554@qq.com> Date: Fri, 9 Dec 2022 11:05:29 +0800 Subject: [PATCH] update actions --- .github/workflows/lint.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index aac5232..a15aea1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,6 +12,10 @@ jobs: - name: Set up Python environment uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.8" - name: flake8 Lint - uses: py-actions/flake8@v2 \ No newline at end of file + uses: py-actions/flake8@v2 + with: + max-line-length: "100" + path: "src" + plugins: "flake8-bugbear==22.1.11 flake8-black" \ No newline at end of file