Bibo-Joshi
2effff8254
Change Order of Class DocStrings ( #2256 )
2020-12-30 15:59:50 +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
Bibo-Joshi
2d4d48b89d
Extend rich comparison of objects ( #1724 )
...
* Make most objects comparable
* ID attrs for PollAnswer
* fix test_game
* fix test_userprofilephotos
* update for API 4.7
* Warn on meaningless comparisons
* Update for API 4.8
* Address review
* Get started on docs, update Message._id_attrs
* Change PollOption & InputLocation
* Some more changes
* Even more changes
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
Jacob Bom
2ca7ff82ef
Update headers to 2018 ( #962 )
...
Also add two missing headers.
[ci skip]
2018-01-04 17:16:06 +02: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