Skip to content

Commit

Permalink
flake8 config file used in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuLamiot committed Mar 16, 2023
1 parent 419abb8 commit 03ca6e0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[flake8]
exclude = .github,.pytest_cache,.venv
max-complexity = 10
max-complexity = 10
count = true
max-line-length=127
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,6 @@ dmypy.json

# Pyre type checker
.pyre/

# VSCode
.vscode/
2 changes: 1 addition & 1 deletion scripts/lint.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
flake8 . --count --max-complexity=10 --max-line-length=127
flake8 .

0 comments on commit 03ca6e0

Please sign in to comment.