Skip to content

Commit

Permalink
Add .flake8 file
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartarchibald committed Feb 10, 2020
1 parent 035861b commit 507d190
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .flake8
@@ -0,0 +1,23 @@
[flake8]
ignore =
E20, # Extra space in brackets
E231,E241, # Multiple spaces around ","
E26, # Comments
E731, # Assigning lambda expression
E741, # Ambiguous variable names
W503, # line break before binary operator
W504, # line break after binary operator
max-line-length = 80

exclude =
__pycache__
.git
*.pyc
*~
*.o
*.so
*.cpp
*.c
*.h
__init__.py
_version.py
2 changes: 1 addition & 1 deletion buildscripts/azure/azure-linux-macos.yml
Expand Up @@ -31,7 +31,7 @@ jobs:
- script: |
export PATH=$HOME/miniconda3/bin:$PATH
conda install -y flake8
flake8 numba
flake8 llvmlite
displayName: 'Flake8'
condition: eq(variables['RUN_FLAKE8'], 'yes')
Expand Down

0 comments on commit 507d190

Please sign in to comment.