- Sep 06, 2020
-
-
hydrargyrum authored
-
- Aug 26, 2020
-
-
Useful when using with a pre-push hook, it is useless to run flakes on the whole code base every time you push. Example of pre-push hook using this feature: ref=$(git rev-list --boundary HEAD...master | grep "^-" | cut -c2-) PYFILES="$(git diff ${ref} --name-only | grep -E "*.py$" | xargs)" $PWD/tools/pyflakes.sh if [ "$?" -ne "0" ]; then echo >&2 "Flakes error" exit 1 fi
-
We now get 'AwesomeModule' instead of 'Awesome_Module' when generating 'awesome_module'.
-
-
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 22, 2020
-
-
- May 08, 2020
-
-
hydrargyrum authored
-
- 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".
-
- Mar 18, 2020
-
-
- Mar 05, 2020
-
-
All cmmc users are now on creditmutuel website.
-
- Feb 20, 2020
-
-
hydrargyrum authored
-
- Feb 12, 2020
-
-
Romain Bignon authored
-
Romain Bignon authored
-
Romain Bignon authored
-
Romain Bignon authored
-
Romain Bignon authored
-
Romain Bignon authored
-
- Jan 30, 2020
-
-
hydrargyrum authored
It has the advantage it will not prevent to write the use-weboob-local.sh script if weboob-config fails.
-
- Jan 08, 2020
-
-
- Dec 15, 2019
-
-
hydrargyrum authored
For now, run using weboob package from PYTHONPATH. Maybe we should require setup.py to have been run before being able to start run_tests. This way, we're sure everything is set up. Same for make_man and weboob_lint.
-