mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-21 13:52:30 +02:00
Apply suggestions from code review
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -37,13 +37,13 @@ jobs:
|
|||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
# one pass for show-stopper syntax errors or undefined names
|
# one pass for show-stopper syntax errors or undefined names
|
||||||
pipenv run flake8 . --count --show-source --statistics
|
pipenv run flake8 archivebox --count --show-source --statistics
|
||||||
# one pass for small stylistic things
|
# one pass for small stylistic things
|
||||||
pipenv run flake8 . --count --max-line-length="$MAX_LINE_LENGTH" --statistics
|
pipenv run flake8 archivebox --count --max-line-length="$MAX_LINE_LENGTH" --statistics
|
||||||
|
|
||||||
- name: Lint with mypy
|
- name: Lint with mypy
|
||||||
run: |
|
run: |
|
||||||
pipenv run mypy .
|
pipenv run mypy archivebox
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
Reference in New Issue
Block a user