Steve Kowalik
291c46303d
Drastically increase coverage by checking repr() ( #1521 )
...
A lot of our missing coverage is caused by not checking repr(), which is
trivial enough to test against -- do so, and also clean up existing repr
tests to look the same by calling repr(). Where it was trivial, add a
few assertions about missing attributes.
2020-05-19 11:54:07 +10:00
Steve Kowalik
b7894ea00c
Drop Python 2 support ( #1329 )
...
With the Python 2 deadline gone, it's time to move with the times and
switch to Python 3 only.
2020-01-06 18:01:38 +11:00
Wan Liuyang
540a085001
Fix isort - add known first and third party
2019-12-11 00:54:59 +08:00
Wan Liuyang
6ceb9e9a15
Apply black to whole codebase ( #1303 )
2019-12-10 17:14:33 +08:00
Steve Kowalik
dc2f2ad8cb
Switch to using six ( #1189 )
...
With the Python 2.7 deadline fast approaching, modernize the codebase
making use of the modernize module to switch to using six, as well as
other upcoming features, such as absolute imports . Stop using 2to3
for Travis, yay!
2019-08-05 14:06:19 +10:00
Steve Kowalik
828b53b756
Silence more flake8 errors ( #1160 )
...
Make more whitespace changes to silence flake8 errors under the github
directory only.
2019-07-02 17:55:04 +08:00
Wan Liuyang
d92389be07
Restore RateLimit.rate attribute, raise deprecation warning instead
2018-09-12 14:53:44 +08:00
Wan Liuyang
fd8a03648a
Adding support for search/graphql rate limit, fixes #553
2018-09-05 12:33:20 +08:00
sfdye
365a0a24d3
Apply fix_headers script to update copyright info
2018-03-17 20:06:16 +08:00
sfdye
58e1ef9ccb
Fix copyright formatting
2018-03-13 22:30:47 +08:00
sfdye
020c136a40
Update doc link in copyright text
2018-03-13 22:07:38 +08:00
Wan Liuyang
a32a17bf81
Fix broken Github reference link in class docstrings
2018-03-13 15:07:07 +08:00
Jannis Gebauer
8571d87c77
adds a nicer __repr__
2016-09-08 10:25:48 +02:00
Peter Buckley
cb0cf0a680
update doc url everywhere ( #420 )
2016-07-12 16:38:02 -04:00
Vincent Jacques
abca7a026e
pep8
...
This is strange, maybe Cygwin's version is stricter.
No time to investigate.
2014-05-04 12:54:05 -07:00
Vincent Jacques
597e123029
Factorize the creation of attributes (preparation for #195 )
2013-09-12 09:27:25 +02:00
Vincent Jacques
4a5009741a
Use ValuedAttribute and NotSet.value (preparation for #195 )
2013-09-12 00:40:27 +02:00
Vincent Jacques
8f4a309c0e
Github.get_rate_limit
2013-09-06 11:38:20 +02:00