- Jun 05, 2021
-
-
Firefox, for example, could omit the "text" field of "content" in the case of a redirection.
-
- May 14, 2021
-
-
hydrargyrum authored
For some reason, pylint generates import errors like "cannot import modules.xxx.browser" which created a compat/ dir but nothing was written in it (apart from __init__.py). Now, we only create the compat/ dir when about to write a real file in it.
-
hydrargyrum authored
This allows to use a virtualenv instead of forcing the python interpreter of the pylint command shebang.
-
hydrargyrum authored
Since py3.4, generating a TestResult out of a TestSuite removes all TestCases, which prevents from getting info from them. Since we want info on TestCases, we have to force unittest not to remove them, by monkeypatching. xunitparser should be patched but it's unmaintained now.
-
- Apr 28, 2021
-
-
hydrargyrum authored
-
- Apr 11, 2021
-
-
Romain Bignon authored
-
Roger Philibert authored
-
- Apr 05, 2021
-
-
Romain Bignon authored
-
- Mar 24, 2021
-
-
- Mar 06, 2021
-
-
Romain Bignon authored
-
- Mar 05, 2021
-
-
hydrargyrum authored
-
hydrargyrum authored
-
-
hydrargyrum authored
For user setups, a number of dirs are used, whose paths are customizable. For workdir, before: - $WEBOOB_WORKDIR - $XDG_CONFIG_HOME/weboob and after: - $WOOB_WORKDIR - $WEBOOB_WORKDIR - $XDG_CONFIG_HOME/woob - $XDG_CONFIG_HOME/weboob If the old name is found in $XDG_CONFIG_HOME, it will try to rename it. For data dir, now: - $WOOB_DATADIR - $WOOB_WORKDIR - $WEBOOB_DATADIR - $WEBOOB_WORKDIR - $XDG_DATA_HOME/woob - $XDG_DATA_HOME/weboob Also, $WOOB_BACKENDS then $WEBOOB_BACKENDS.
-
- Mar 03, 2021
-
-
hydrargyrum authored
By forcing argv, "config update" was received as a command.
-
hydrargyrum authored
-
-
hydrargyrum authored
setup.py installs in a different way than pip. Since the package was renamed, it seems to cause problems if "weboob" was previously installed with setup.py. Installing "woob" with pip doesn't seem to cause a conflict though, so let's switch to it.
-
- Mar 01, 2021
-
-
hydrargyrum authored
-
hydrargyrum authored
-
Roger Philibert authored
-
Roger Philibert authored
-
- Feb 27, 2021
-
-
hydrargyrum authored
-
hydrargyrum authored
-
hydrargyrum authored
-
hydrargyrum authored
-
- Feb 26, 2021
-
-
The name part of the request that is extracted, could be very very long, and then the har-to-old.py script will fail because the filename is longer than what is allowed by the file system.
-
- Nov 17, 2020
-
-
For a given web request, there use to be 2 metadata files generated: 001-200-3-request.txt 001-200-3-response.txt But, there is a typo in the code, and instead the generated files are: 001-200-3-request.txt 001-200-3.response.txt This change fixes the typo to get back the original behavior.
-
The previous syntax for har-to-old was: usage: har-to-old.py [-h] file prefix Change it to: usage: har-to-old.py [-h] file [destdir] - prefix renamed in destdir, as it was not really a prefix but the name(/path) to the destination folder for extracted files - automatically create the destdir folder if it does not exist - if destdir is not provided, use the file name without extension
-
- Oct 28, 2020
-
-
But it's pep8 rule keeps application-imports in the same group as relative-imports. Changing it is not a matter of configuration but defining our own style, which is tedious as it would require a setuptools entrypoint just for that, so we inject manually the style.
-
- Sep 23, 2020
-
-
Thanks to this tool, we will be able to drop dumping to the old, custom, hard-to-parse format in favor of the new, ill-defined format: HAR!
-
- 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
-
-