Harshil
e6d9f3d057
Update Copyright to 2022 ( #2836 )
2022-01-03 08:15:18 +01:00
Harshil
92ff6a8e2b
Add __slots__ ( #2345 )
...
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <hinrich.mahler@freenet.de>
2021-05-29 16:18:16 +02:00
starry69
91e0271e4c
Update copyright headers
...
Signed-off-by: starry69 <starry369126@outlook.com>
2021-01-03 10:40:24 +05:30
Bibo-Joshi
2effff8254
Change Order of Class DocStrings ( #2256 )
2020-12-30 15:59:50 +01:00
Bibo-Joshi
ae9ce60b55
API 5.0 ( #2181 )
...
Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2020-11-29 16:20:46 +01:00
Bibo-Joshi
3b9187ed5a
Rename kwargs to _kwargs where possible ( #2182 )
2020-11-05 18:12:01 +01:00
Bibo-Joshi
92b9370c23
Improve Code Quality ( #2131 )
...
* Make pre-commit more strict
* Get pylint to read setup.cfg
* Make pylint & mypy happy aka ignore all the things
* use LogRecord.getMessage() in tests
* Make noam happy
* Update both pylint & mypy while we're at it
* Bring reqs-dev and makefile up to speed
* try making pre-commit happy
* fix jobqueue tests on the fly
2020-10-31 16:33:34 +01:00
Bibo-Joshi
264b2c9c72
Switch Code Formatting to Black ( #2122 )
...
* Swtich code formatting to Black
* Update docs
* Fix tests
* TRy fixing pre-commit
2020-10-09 17:22:07 +02:00
Hinrich Mahler
5fd7606084
Type Hinting ( #1920 )
2020-10-07 20:30:41 +02:00
Nils K
8406889179
Remove Python 2 Support ( #1715 )
...
* Remove usages of python-future lib
* Remove python2 datetime.timezone replacement
* Remove python2 workaround in InputFile.__init__
* Remove import of str necessary for python2
* Remove urllib2 import necessary for python2
* Remove a mention of python 2 in doc
* Remove python 2 from travis config file
* Remove python 2 from appveyor config
* Remove python2 from debian build rules
* Remove unnecessarry aliasing of time.perf_counter
* Remove python 2 from github workflow
* Remove mention of python 2 in descriptions/readme
* Remove version check for queue import
* Remove version checks in tests
* Adjust docs to correctly mention supported version
* Fix indentation
* Remove unused 'sys' imports
* Fix indentation
* Remove references to mq.curtime in tests
* Replace super calls by argumentsless version
* Remove future dependency
* Fix error in de_json declaration
* Use python3 metaclass syntax
* Use implicit inheriting from object
* Remove accidentally committed .vscode folder
* Use nameless f-string and raw string
* Fix regex string literal syntax
* Remove old style classes
* Run pyupgrade
* Fix leftover from automatic merge
* Fix lint errors
* Update telegram/files/sticker.py
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
2020-06-15 18:20:51 +02:00
Noam Meltzer
43bfebb150
Update copyright date to 2020 ( #1746 )
2020-02-02 23:08:54 +02:00
Bibo-Joshi
a5ba64becb
Remove checks for None on assignement for opt args ( #1600 )
2019-11-23 18:05:03 +02:00
Jacob Bom
2ca7ff82ef
Update headers to 2018 ( #962 )
...
Also add two missing headers.
[ci skip]
2018-01-04 17:16:06 +02:00
Eldinnie
bfad2fa1f3
support 3.4 API ( #865 )
2017-10-14 21:03:02 +03:00
Eldinnie
eae139d3e9
remove de_json() ( #789 )
...
* remove de_json()
* Remove or rename obsolete tests
* fixes according to rc
2017-09-01 08:45:22 +02:00
Noam Meltzer
e018445513
Documentation update to PEP ( #797 )
2017-09-01 08:43:08 +02:00
Eldinnie
b3b94240a5
Docs update ( #728 )
...
Amazing new documentation.
2017-07-23 23:33:08 +03:00
Ihor Polyakov
08d298eb60
TelegramObject.de_json became classmethod ( #737 )
...
Fixes #734
2017-07-23 22:14:38 +03:00
Jacob Bom
5c2893111a
Move a lot of files
2017-06-18 12:35:00 +02:00