- Aug 26, 2020
-
-
-
Constructions like: a and b or c 1 << 2 & 3 are discouraged because precedence isn't obvious at first sight. Parentheses must be added to make code explicit.
-
- Aug 07, 2020
-
-
flake8 is capable of running checks in parallel if we give it multiple files.
-
- Jul 15, 2020
-
-
hydrargyrum authored
A star-mapping in a dict returns a None key.
-
hydrargyrum authored
-
- Jun 03, 2020
-
-
-
-
Also, don't print a backtrace when flake8 failed, because it's not exceptional and it confuses readers.
-
This can be accepted for compacity: foo = [{ 1: 1, 2: 2, }] Rather than forcing to do: foo = [ { 1: 1, 2: 2, }, ]
-
- May 07, 2020
-
-
-
-
This was rejected: [ (a), ] because last token of last element is "a", not ")". So we have to skip closing parentheses before reaching the trailing comma. Also, simply use "generic_visit" instead of calling "visit" on sub nodes ourselves.
-
-
-
-
-
-
-
-
New checks will be applied on files containing a comment such as "# flake8: compatible".
-