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
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
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
f2feb81dae
Add default parameters to greatly reduce code redoundancy
2013-09-06 11:01:32 +02:00
Vincent Jacques
64cf539c83
#193 : Add a param to Requester.requestXxx for request headers
2013-08-23 11:31:01 +02:00
Vincent Jacques
5c475c7683
First review of #192 (pep8, headers... nothing important)
...
./manage.sh check
./manage.sh fix_headers
2013-08-22 10:12:38 +02:00
AKFish
912bec79d2
Update copyright information
2013-08-21 17:45:01 +08:00
AKFish
3f6d1b6b70
Remove helper method in Legacy.py
2013-08-21 17:27:37 +08:00
AKFish
ba6800ada4
Update NamedUser.py
2013-08-21 16:57:10 +08:00
Vincent Jacques
06a3d87098
Change source file header format
2013-07-13 19:03:53 +02:00
Vincent Jacques
db5560bd65
Add a script to check copyrights with git log. And fix copyrights.
2013-03-29 16:54:15 +01:00
Vincent Jacques
7a415fda66
Change home page
2013-02-16 21:19:49 +01:00
Vincent Jacques
e9be857089
Rename methods in Requester
2013-02-05 19:39:03 +01:00
Vincent Jacques
9a03610f7b
Use absolute imports. May help with Python 3
2012-11-21 20:13:12 +01:00
Vincent Jacques
a6972c03c3
Fix assertion failure on big integers (issue #116 )
2012-11-20 19:34:55 +01:00
Zearin
4c6a70c24a
Add encoding comment to source files
...
This is a minor thing. It’s a convention, not a rule (obviously)—but it’s also a best practice.
Many text editors look for this kind of comment as the first line—or second line, if there is a shebang (the `#!/usr/bin/env python`, or whatever else)—and make use of this to determine the file’s encoding.
2012-11-01 11:43:56 -04:00
Vincent Jacques
ca1e799826
Restore measure of test coverage
2012-10-28 15:53:03 +01:00
Vincent Jacques
531c3f2d32
Improve comformance to pep8 (+dos2unix)
...
PyGithub is now a public projects with several public contibutors,
I have to abandon my very personal coding conventions.
2012-09-17 20:37:22 +02:00
Vincent Jacques
1b44411f90
Reduce assumptions on legacy API
2012-09-12 21:13:42 +02:00
Vincent Jacques
408d76fe5e
Merge branch 'topic/ExposePagination' into develop
2012-09-12 21:05:07 +02:00
Vincent Jacques
9818dfcbcb
Complete Legacy.convertXxx (issue #81 )
2012-09-12 20:35:57 +02:00
Vincent Jacques
8ad0acc0bd
Legacy.PaginatedList.get_page (issue #77 )
2012-09-11 23:47:09 +02:00
Vincent Jacques
ef403a1594
Do all paginated calls inside PaginatedList
...
This was already the case for Legacy.PaginatedList.
Doing it in PaginatedList.PaginatedList reduces the amount of
repeated code and will allow a generic solution for issue #77
2012-09-11 23:47:08 +02:00
Vincent Jacques
609b7b87cf
dos2unix, chmod +x
2012-08-04 07:58:30 +02:00
Steve English
7456c1e49b
Specify a server url for Github.
...
Allows connection to GitHub Enterprise installs on local URLs.
2012-07-23 17:39:56 +01:00
Vincent Jacques
aa8fa5485c
Refactor PaginatedLists (legacy and modern) to restore test coverage
2012-06-29 18:10:37 +01:00
Vincent Jacques
df63f6be2c
Implement legacy pagination
2012-06-29 18:10:24 +01:00
Vincent Jacques
d8882e53ed
Improve legacy APIs:
...
- add a legacy_ prefix (avoir future name clashes)
- add the language parameter to Github.legacy_search_repos
- prepare legacy pagination
2012-06-29 18:09:43 +01:00
Vincent Jacques
37c06ea4fc
Convert legacy objects to v3 ones
...
Still needed:
- test completion of objects returned by legacy API
- implement legacy pagination
2012-06-29 07:44:10 +02:00