- Oct 10, 2016
-
-
Dan Michael O. Heggø authored
Use MANIFEST.in to specify that LICENSE.md should be included in the source distribution. Fixes #140
-
- Sep 22, 2016
-
-
Nicolas Bareil authored
-
- Sep 20, 2016
-
-
Waldir Pimenta authored
otherwise the logo gets awkwardly separated from the title
-
Waldir Pimenta authored
PR #136 fixes #88
-
- Aug 23, 2016
-
-
Dan Michael O. Heggø authored
To avoid stuff like #135 from happening, make it more transparent what's going on in `List.__next__` by - replacing the check for `full=True` with `isinstance(self, GeneratorList)` - replacing the recursive call to `List.__next__` with `item = six.next(self._iter)`. This means one line of code is duplicated, but I think it's pays of in term of readability.
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
Putting back an explicit reference to `List` to avoid `GeneratorList.__next__` being called.
-
- Aug 21, 2016
-
-
Waldir Pimenta authored
-
Waldir Pimenta authored
-
Dan Michael O. Heggø authored
- Remove `Page.get_expanded()` - Postpone removal of `Page.edit()` since it's a more popular method. per #130
-
Dan Michael O. Heggø authored
-
cariaso authored
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
- https is standard now, so no need to explicitly declare that - wrap lines around 90 chars - minor rewriting
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
to adher to 52b9d8b8
-
Lukas Juhrich authored
-
Lukas Juhrich authored
-
Lukas Juhrich authored
A lot of other line length Modifications
-
Lukas Juhrich authored
For determining the version, I created a staticmethod (because this does not really depend on the state of the instance) which makes things more readable – `self.version = self.version_tuple_from_generator()` is self-explaining and shortens the amount of code to comprehend in the `site_init` method.
-
Lukas Juhrich authored
Lines > 90 chars have ben wrapped appropriately (except for a few cases where readability would have decreased) For membership testing against a container of multiple values, mostly use `sets`! Tuples are technically working, but semantically not the right choice. Tuples have structural meaning and are heterogeneous, while sets concern membership and uniqueness, being the correct tool. This is a similiar reasoning as in http://stackoverflow.com/a/626871/2443886 concerning lists vs. tuples.
-
Lukas Juhrich authored
-
Lukas Juhrich authored
-
Lukas Juhrich authored
I did this kind of on personal interest, since my emacs (using flake8) marks every violation (meaning: line >79 chars) red, which is pretty annoying. I personally think 90 is a realistic guideline.
-
Lukas Juhrich authored
-
Lukas Juhrich authored
Since `next` is just there for compatability reasons, it is more reusable be completely transparent, i.e. Passing every [keyword]argument. Now, we don't need to re-define it in the child class with a different signature.
-
Lukas Juhrich authored
-
Lukas Juhrich authored
Since selecting the class obeys a static “namespace-id → class” mapping, I select the class to be instantiated with a dict.
-
Lukas Juhrich authored
-
Lukas Juhrich authored
Refs #127
-
Lukas Juhrich authored
In this case, we can just use the bound method `self.__next__` instead of calling the unbound method of `type(self)` and giving `self` as the first parameter.
-
Lukas Juhrich authored
Fix #127
-
Lukas Juhrich authored
Refs #47
-
Lukas Juhrich authored
These have been done automatically by my editor (in the form of a post save hook).
-
Lukas Juhrich authored
Remove python2.6 from - Travis - Tox - PyPi tags - documentation and readme Also, Simplify an import clause. This fixes #133
-
- Jul 03, 2016
-
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
Looks like a buggy pip version could be the root cause, but nevertheless, we shouldn't need to specify that we're depending on requests explicitly when requests_oauthlib depends on it. (https://stackoverflow.com/questions/27497470/setuptools-finds-wrong-package-during-install)
-
Dan Michael O. Heggø authored
- Adds link to the user guide from readme - Adds a new page to the user guide on "working with files"
-
Dan Michael O. Heggø authored
Add OAuth and update docs
-