Skip to content

Commit

Permalink
Add pyflakes in the test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
meunierlf committed Feb 3, 2023
1 parent c8f0aa6 commit 4f7fea4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/lint_test_and_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pycodestyle pydocstyle toml tomli
pip install pycodestyle pydocstyle toml tomli pyflakes
- name: Run pyflakes on src and tests
run: |
pyflakes src tests
- name: Run pycodestyle on src
run: |
pycodestyle --max-line-length=120 --ignore=W504 src
Expand Down
3 changes: 3 additions & 0 deletions src/taylorism/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
from .schedulers import BaseScheduler
from .schedulers import MaxThreadsScheduler, binding_setup # For compatibility

assert BaseScheduler
assert MaxThreadsScheduler

taylorism_log = loggers.getLogger(__name__)

# : timeout when polling for a Queue/Pipe communication
Expand Down

0 comments on commit 4f7fea4

Please sign in to comment.