Skip to content

Commit

Permalink
Switch to flake8
Browse files Browse the repository at this point in the history
pylint no longer works on MacOSX
  • Loading branch information
Neil Booth committed Nov 1, 2021
1 parent b3c330b commit 04d3cb5
Show file tree
Hide file tree
Showing 18 changed files with 34 additions and 715 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/prepare-env.yml
Expand Up @@ -14,7 +14,7 @@ steps:
python -m pip install pytest
python -m pip install pytest-asyncio
python -m pip install Sphinx
python -m pip install pylint
python -m pip install flake8
displayName: Prepare general environment
condition: |
and(
Expand Down
4 changes: 2 additions & 2 deletions .azure-pipelines/run-tests.yml
Expand Up @@ -18,8 +18,8 @@ jobs:
coverage run -m pytest --junitxml=junit/test-results.xml tests
coverage xml
displayName: 'Test with pytest'
- bash: ./pylint
displayName: pylint
- bash: ./flake8
displayName: flake8
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
Expand Down
5 changes: 5 additions & 0 deletions .flake8
@@ -0,0 +1,5 @@
[flake8]

max-line-length=100
select=E,F,W
ignore=W503

0 comments on commit 04d3cb5

Please sign in to comment.