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
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
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
Bibo-Joshi
1dc67dcbda
Remove builtin names where possible ( #1792 )
2020-02-23 23:03:58 +02:00
Noam Meltzer
43bfebb150
Update copyright date to 2020 ( #1746 )
2020-02-02 23:08:54 +02:00
Noam Meltzer
30cc0f8cf9
pep8 fixes
2018-11-01 11:18:07 +02:00
Noam Meltzer
baec1bb554
flake8 revamp
...
- Use pre-commit v1.2.0 flake8
- Make sure we're running flake8 on examples and tests
- Fix what had to be fixed
2018-02-19 12:41:38 +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
Jacob Bom
5d7c6ad541
Switch to pytest + required fixes to code ( #788 )
...
Required fixes:
- CallbackQuery is now comparable.
- Message.effective_attachment, Message.photo,
Message.new_chat_members, Message.new_chat_photo &
Game.text_entitties semantic fixes - when they are not defined,
return an empty list.
- Docstring fix to Update class.
2017-08-12 00:58:41 +03:00