From 03ca6e0c33cefd762b0bb97f40dd31d0fdee8280 Mon Sep 17 00:00:00 2001 From: Mathieu Lamiot Date: Thu, 16 Mar 2023 11:31:28 +0100 Subject: [PATCH] flake8 config file used in scripts --- .flake8 | 4 +++- .gitignore | 3 +++ scripts/lint.sh | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.flake8 b/.flake8 index 4ad3b74..538a19b 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,5 @@ [flake8] exclude = .github,.pytest_cache,.venv -max-complexity = 10 \ No newline at end of file +max-complexity = 10 +count = true +max-line-length=127 \ No newline at end of file diff --git a/.gitignore b/.gitignore index b6e4761..7be1192 100644 --- a/.gitignore +++ b/.gitignore @@ -127,3 +127,6 @@ dmypy.json # Pyre type checker .pyre/ + +# VSCode +.vscode/ diff --git a/scripts/lint.sh b/scripts/lint.sh index 49fe401..12b9f5c 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -1 +1 @@ -flake8 . --count --max-complexity=10 --max-line-length=127 \ No newline at end of file +flake8 . \ No newline at end of file