소스 검색

Make bandit and codespell mandatory tests

Christian Clauss 4 년 전
부모
커밋
b5397c65d8
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      .github/workflows/lint_python.yml

+ 4 - 4
.github/workflows/lint_python.yml

@@ -9,11 +9,11 @@ jobs:
       - run: pip install --upgrade pip wheel
       - run: pip install bandit black codespell flake8 flake8-bugbear
                          flake8-comprehensions isort mypy pytest pyupgrade safety
-      - run: bandit --recursive --skip B101 . || true  # B101 is assert statements
+      - run: bandit --recursive --skip B101,B104,B310,B311 .
       - run: black --check . || true
-      - run: codespell || true  # --ignore-words-list="" --skip="*.css,*.js,*.lock"
-      - run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
-      - run: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88
+      - run: codespell
+      - run: flake8 . --count --ignore=B001,E203,E266,E722,E731,F401,F811,F841
+                      --max-complexity=10 --max-line-length=121
                       --show-source --statistics
       - run: isort --check-only --profile black . || true
       - run: pip install -r requirements.txt || pip install --editable . || true