Trim21
294c0cc9c5
Enable mypy disallow_untyped_defs ( #2609 )
2023-07-14 21:47:24 +02:00
Trim21
8816889a7d
Enable mypy check_untyped_defs ( #2607 )
2023-07-14 14:49:28 +02:00
Jirka Borovec
13e178a3ab
Set line length to 120 characters ( #2599 )
2023-07-13 17:37:20 +02:00
Trim21 and Enrico Minack
61f9ae6c4b
Merge some simple classes' type stubs back to source ( #2576 )
...
Co-authored-by: Enrico Minack <github@enrico.minack.dev >
2023-07-08 12:14:34 +02:00
b6258f4be9
merge GithubObject.pyi/Requester.pyi stubs back to source ( #2463 )
...
Co-authored-by: Enrico Minack <github@enrico.minack.dev >
Co-authored-by: Jonathan Leitschuh <jonathan.leitschuh@gmail.com >
2023-06-16 11:57:35 -04:00
chantra
6d4b6d1419
Add support for get_app() with App authentication ( #2549 )
...
Moves `Github.get_app()` called without `slug` parameter into `GithubIntegration`, because it needs an `AppAuth`,
and we collect all such endpoints there. Calling `Github.get_app()` without `slug` parameter is now deprecated.
Replaces `datetime.utcnow()` with `datetime.now(timezone.utc)`, as it is deprecated in Python 3.12.
2023-06-16 08:09:16 +02:00
Enrico Minack
f291a368bb
Implement AppUserAuth for Github App user tokens ( #2546 )
...
Allows to refresh Github App user token. Integrates `ApplicationOAuth` into `github.Auth`.
2023-06-14 19:40:29 +02:00
Liuyang Wan
7e6333da1a
Fix CI ( #2330 )
2022-10-13 08:56:18 +08:00
Steve Kowalik
e113e37de1
Add pyupgrade to pre-commit configuration ( #1783 )
...
To help us switch to f-strings and other 3.6+ changes, add pyupgrade to
our pre-commit configuration to keep the codebase clean.
2020-12-15 14:07:33 +11:00
Rigas Papathanasopoulos
4a6468aa4a
Create AccessToken entity
...
This class is used to represent access tokens created from a successful
OAuth authorization process.
2020-04-28 21:59:54 +03:00