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
c6671c6466
Finish .../stats/... ( #203 )
2013-11-17 10:16:59 -08:00
Vincent Jacques
d626f21484
Implement equality comparison of CompletableGithubObject ( #201 )
2013-11-10 16:28:52 -08:00
Vincent Jacques
5692c1ebb2
Acknowledge lack of test coverage in the old Download API
2013-11-10 15:57:08 -08:00
Vincent Jacques
072bf24277
Raise exception only when user *accesses* an attribute with a bad value ( #195 )
2013-09-12 11:45:29 +02:00
Vincent Jacques
2ee7aff8e6
Factorize
2013-09-12 10:16:57 +02: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
f2feb81dae
Add default parameters to greatly reduce code redoundancy
2013-09-06 11:01:32 +02:00
Vincent Jacques
3fe9edf087
Implement object persistence
...
This follows my proposal for #193 .
Largely inspired by AKFish's work.
2013-09-04 23:28:44 +02:00
Vincent Jacques
020a3c9917
Move method update to CompletableGithubObject
2013-08-23 18:45:16 +02:00
Vincent Jacques
e084b51381
#193 : Fix test coverage
2013-08-23 14:51:34 +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
03d7fb012e
#193 : Add remarks
2013-08-23 11:15:17 +02:00
Vincent Jacques
bae0a37d18
#193 : Don't use a try-except for a usual execution flow in GithubObject.update
...
(and factorize assignment of headers in _storeAndUseAttributes,
as done for rawData)
2013-08-23 11:10:35 +02:00
Vincent Jacques
fb7325884e
Fix remarks on #189 to #193
2013-08-23 09:32:47 +02:00
Vincent Jacques
0f74e4389b
Review of #189 : pep8, copyrights, style, remarks
...
For remarks, run: git grep "#189 "
They are only my first thoughts while reviewing this pull request,
and should be reviewed themselves.
2013-08-22 12:12:38 +02:00
Vincent Jacques
1787765a61
Review of #189 : use dict.get
...
http://docs.python.org/2/library/stdtypes.html#dict.get
2013-08-22 11:41:15 +02:00
Vincent Jacques
cc1bcd5f2d
Merge branch 'develop' into topic/ConditionalRequest
...
Conflicts:
.gitignore
github/Requester.py
2013-08-22 11:01:51 +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
1e9ec2df08
Add NotModifiedException class
2013-08-21 23:04:07 +08:00
AKFish
bd7abb5877
Add update() method
2013-08-21 23:01:40 +08:00
AKFish
b71329e560
Implement data persistence
2013-08-21 22:25:20 +08:00
AKFish
e06257d060
Enable debug in TestCase
2013-08-21 20:58:29 +08:00
AKFish
1d18ea75cc
Add debug / test mechanism
2013-08-21 19:25:05 +08:00
AKFish
912bec79d2
Update copyright information
2013-08-21 17:45:01 +08:00
AKFish
30d9d499a1
Clean up
2013-08-21 17:32:32 +08:00
AKFish
ca6189c3c9
Change CompletableGithubObject.__init__ without breaking build.
2013-08-21 14:49:20 +08:00
AKFish
a1b65636df
Clean up. NonCompletableGithubObject refactoring resolved.
2013-08-21 14:25:07 +08:00
AKFish
0bc138b490
Change NonCompletableGithubObject without breaking build.
2013-08-21 12:32:41 +08:00
AKFish
cfbe7fb0b0
Change GithubObject.__init__ without breaking build.
2013-08-21 11:21:15 +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
b9d71fa787
Slightly improve coverage :-D
2013-03-28 21:05:19 +01:00
Vincent Jacques
a397fac6db
Fix doc for raw_data (issue #144 )
2013-03-21 21:56:51 +01:00
Vincent Jacques
fa43e95268
Refactor XxxGithubObject
2013-03-14 12:31:36 +01:00
Vincent Jacques
2defd7b818
Expose raw data of objects (Issue #144 )
2013-03-14 12:29:54 +01:00
Vincent Jacques
1e8dda73db
Fix pep8 and coverage
2013-02-17 13:53:13 +01:00
Vincent Jacques
7a415fda66
Change home page
2013-02-16 21:19:49 +01:00
Vincent Jacques
680490a6d8
Merge branch 'develop' into topic/ExperimentOnDocumentation
...
Conflicts:
ReadMe.md
doc/ChangeLog.md
doc/ReferenceOfApis.md
doc/ReferenceOfClasses.md
github/AuthenticatedUser.py
github/Authorization.py
github/CommitComment.py
github/ContentFile.py
github/Download.py
github/Gist.py
github/GistComment.py
github/GitRef.py
github/Github.py
github/Hook.py
github/Issue.py
github/IssueComment.py
github/Label.py
github/Milestone.py
github/PullRequest.py
github/PullRequestComment.py
github/Repository.py
github/RepositoryKey.py
github/Team.py
github/UserKey.py
setup.py
2013-02-16 19:57:13 +01:00
Vincent Jacques
ce05a0185d
Fix lazy completion!!! (issue #139 )
2013-02-08 08:33:58 +01:00
Vincent Jacques
e9be857089
Rename methods in Requester
2013-02-05 19:39:03 +01:00
Vincent Jacques
050ab5f5d8
Fix
2012-11-23 13:24:45 +01:00
Vincent Jacques
f180a7d2f3
Update generateDocstrings.py
2012-11-22 21:39:29 +01:00
Vincent Jacques
a2f9690705
Merge branch 'develop' into topic/ExperimentOnDocumentation
...
Conflicts:
github/Github.py
github/GithubObject.py
2012-11-22 21:21:15 +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
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
9d6e22ce16
Add __repr__ to _NotSetType
...
We don't want "<github.GithubObject._NotSetType instance at 0x00000000037B1A48>"
in our generated documentation.
2012-09-13 23:02:55 +02:00
Vincent Jacques
040d7b1b00
Add a temporary script to create docstrings (help for issue #82 )
2012-09-13 22:41:08 +02:00
Vincent Jacques
609b7b87cf
dos2unix, chmod +x
2012-08-04 07:58:30 +02:00