From 33389396a793580945adeaa736e49d515ed5466f Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 16 Feb 2024 02:57:17 -0500 Subject: Add linting rules --- .flake8 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .flake8 (limited to '.flake8') diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..cc9a2cf --- /dev/null +++ b/.flake8 @@ -0,0 +1,12 @@ +[flake8] +# We ignore the following errors: +# * W503 (line break before binary operator): Black moves these to new lines +# * E501 (line too long): Long lines are a fact of life in comment blocks; Black handles active instances of this +# * E203 (whitespace before ':'): Black recommends this as disabled +# * F403 (import * used; unable to detect undefined names): We use a wildcard for helpers +# * F405 (possibly undefined name): We use a wildcard for helpers +ignore = W503, E501, F403, F405 +extend-ignore = E203 +# Set the max line length to 88 for Black +max-line-length = 88 + -- cgit