diff options
author | Jordan Cook <jordan.cook@pioneer.com> | 2021-04-01 22:09:02 -0500 |
---|---|---|
committer | Jordan Cook <jordan.cook@pioneer.com> | 2021-04-01 22:18:39 -0500 |
commit | 8244ddf7bdd76888484859fcdf9a38b0f1d96ad9 (patch) | |
tree | 2d52bbb3434a5278fe98d63a5ac9649102c6f7ea /.github | |
parent | a099d60f5b8a78d3783d4e12036eae8e287b2c42 (diff) | |
download | requests-cache-8244ddf7bdd76888484859fcdf9a38b0f1d96ad9.tar.gz |
Fix remaining linting issues, and add flake8 to 'analyze' job in GitHub Actions
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f86b63f..45b06d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,10 +87,12 @@ jobs: - name: Install dependencies run: pip install ".[dev]" - - name: Run black check - run: black --check --diff . - - name: Run isort check - run: isort --check --diff . + - name: Run linter + run: flake8 . + - name: Run code style checks + run: | + black --check --diff . + isort --check --diff . - name: Run cyclomatic complexity check run: radon cc --show-complexity --average --order SCORE requests_cache |