From d5468a5ce20d1cbdd61d67aee587990cc59ab813 Mon Sep 17 00:00:00 2001 From: mohamedmonem123 Date: Wed, 21 Dec 2022 16:47:31 +0200 Subject: [PATCH] adding flake8 file --- .flake8 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 00000000..2883b09d --- /dev/null +++ b/.flake8 @@ -0,0 +1,24 @@ + +[flake8] +max-line-length = 88 +max-complexity = 18 +select = B,C,E,F,W,T4,B9 +ignore = E203, E266, E501, W503, F403, F401 + +exclude = + # No need to traverse our git directory + .git, + # There's no value in checking cache directories + __pycache__, + # The conf file is mostly autogenerated, ignore it + docs/source/conf.py, + # The old directory contains Flake8 2.0 + old, + # This contains our built documentation + build, + # This contains builds of flake8 that we don't want to check + dist, + .ipynb_checkpoints, + .tox, + extra, + deprecated,