dependabot[bot]
a0f98b241e
Update apscheduler
requirement from ~=3.9.1 to ~=3.10.0 ( #3532 )
...
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2023-02-04 09:21:28 +01:00
Poolitzer
1701950a1d
Bump isort
to 5.12.0 ( #3525 )
2023-02-01 22:11:56 +01:00
dependabot[bot]
851f7ff0b3
Update cachetools
requirement from ~=5.2.1 to ~=5.3.0 ( #3520 )
...
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2023-01-28 12:36:11 +01:00
Harshil
5693add136
Improve Config for ruff
and Bump to v0.0.222
( #3507 )
2023-01-15 16:17:02 +01:00
dependabot[bot]
200b623263
Update cachetools
requirement from ~=5.2.0 to ~=5.2.1 ( #3502 )
...
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2023-01-14 17:41:47 +01:00
dependabot[bot]
c64bd7a715
Update httpx
requirement from ~=0.23.1
to ~=0.23.3
( #3489 )
...
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2023-01-07 13:39:23 +01:00
Aditya
bbb9fcaaa5
Add ruff
to pre-commit
Hooks ( #3488 )
2023-01-06 16:19:49 +01:00
pre-commit-ci[bot]
6b59365464
pre-commit
autoupdate (#3470 )
2023-01-03 13:27:56 +01:00
pre-commit-ci[bot]
6e4a1f0a21
pre-commit
autoupdate (#3409 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2022-12-06 11:28:47 +01:00
pre-commit-ci[bot]
a1e6a6e779
pre-commit
autoupdate (#3325 )
2022-11-01 12:59:06 +01:00
pre-commit-ci[bot]
870a20e834
pre-commit
autoupdate (#3282 )
2022-10-06 15:26:42 +02:00
pre-commit-ci[bot]
5480be4c25
pre-commit
Updates (#3221 )
2022-09-17 15:08:54 +02:00
Bibo-Joshi
741a50ab97
New Rate Limiting Mechanism ( #3148 )
2022-08-26 06:50:03 +02:00
pre-commit-ci[bot]
c28ad86214
Update pre-commit
Dependencies ( #3085 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-08-02 08:26:36 +02:00
dependabot[bot]
14c86daf23
Update tornado
requirement from ~=6.1 to ~=6.2 ( #3149 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-07-12 20:16:22 +02:00
Bibo-Joshi
d4b7a2b3e9
Drop pre-commit
Dependencies from requirements-dev.txt
( #3120 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-07-09 23:12:07 +02:00
dependabot[bot]
dac6d03666
Bump black
from 22.3.0 to 22.6.0 ( #3132 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-07-08 00:13:57 +02:00
dependabot[bot]
24b4de9f10
Bump pyupgrade
from 2.32.1 to 2.34.0 ( #3096 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-06-25 11:52:39 +02:00
dependabot[bot]
bfe30048e8
Bump mypy
from 0.960 to 0.961 ( #3093 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-06-19 17:12:26 +02:00
dependabot[bot]
de28f177bd
Update cachetools requirement from ~=5.1.0 to ~=5.2.0 ( #3080 )
...
* Update cachetools requirement from ~=5.1.0 to ~=5.2.0
Updates the requirements on [cachetools](https://github.com/tkem/cachetools ) to permit the latest version.
- [Release notes](https://github.com/tkem/cachetools/releases )
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/tkem/cachetools/compare/v5.1.0...v5.2.0 )
---
updated-dependencies:
- dependency-name: cachetools
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* update pre-commit as well
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-06-09 17:06:49 +02:00
dependabot[bot]
5f547f3725
Update httpx
requirement from ~=0.22.0 to ~=0.23.0 ( #3069 )
...
* Update httpx requirement from ~=0.22.0 to ~=0.23.0
Updates the requirements on [httpx](https://github.com/encode/httpx ) to permit the latest version.
- [Release notes](https://github.com/encode/httpx/releases )
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md )
- [Commits](https://github.com/encode/httpx/compare/0.22.0...0.23.0 )
---
updated-dependencies:
- dependency-name: httpx
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* update other places as well
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-06-02 10:10:08 +02:00
dependabot[bot]
8e7220e5db
Update cachetools
requirement from ~=5.0.0 to ~=5.1.0 ( #3058 )
...
* Update cachetools requirement from ~=5.0.0 to ~=5.1.0
Updates the requirements on [cachetools](https://github.com/tkem/cachetools ) to permit the latest version.
- [Release notes](https://github.com/tkem/cachetools/releases )
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/tkem/cachetools/compare/v5.0.0...v5.1.0 )
---
updated-dependencies:
- dependency-name: cachetools
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* update other places as well
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-06-02 10:09:05 +02:00
dependabot[bot]
977d56ab43
Bump mypy
from 0.950 to 0.960 ( #3070 )
...
* Bump mypy from 0.950 to 0.960
Bumps [mypy](https://github.com/python/mypy ) from 0.950 to 0.960.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.950...v0.960 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* update pre-commit as well
* fix type hint for CIRHandler.collect_additional_context
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-06-02 10:08:15 +02:00
Bibo-Joshi
2175af6abc
Apply isort
and Update pre-commit.ci Configuration ( #3049 )
2022-05-19 15:10:08 +02:00
Bibo-Joshi
d2cabcaa74
Adjust pre-commit
Settings for isort
( #3043 )
2022-05-18 17:23:00 +02:00
dependabot[bot]
298c5fab3b
Bump pylint from 2.13.8 to 2.13.9 ( #3032 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-15 22:23:04 +02:00
dependabot[bot]
23ed0880d2
Bump pyupgrade
from 2.32.0 to 2.32.1 ( #2999 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-10 18:35:59 +02:00
Harshil
335772568f
Update and Expand Tests & pre-commit Settings and Improve Code Quality ( #2925 )
...
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-06 18:22:34 +02:00
Bibo-Joshi
a491eead5a
Update Dependency Policy ( #2958 )
2022-05-06 18:22:28 +02:00
Bibo-Joshi
42eaa67fd5
Switch to asyncio
( #2731 )
...
Co-authored-by: tsnoam <tsnoam@gmail.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
2022-05-06 18:19:15 +02:00
Harshil
9b56be44b4
Update pre-commit Settings & Improve a Test ( #2796 )
2022-05-06 18:19:13 +02:00
Harshil
44f1ce3784
Update Code Quality Dependencies ( #2748 )
2022-05-06 18:19:13 +02:00
Bibo-Joshi
7afce46d9f
Introduce Builder Pattern for Updater and Dispatcher ( #2646 )
2022-05-06 18:19:12 +02:00
Harshil
b4ea5557ac
Remove __dict__
from __slots__
and drop Python 3.6 ( #2619 , #2636 )
2022-05-06 18:19:10 +02:00
Bibo-Joshi
8531a7a40c
Arbitrary callback_data ( #1844 )
2021-06-06 11:48:48 +02:00
Bibo-Joshi
9737b1d3c7
Bump Tornado Version and Remove Workaround from #2067 ( #2494 )
2021-05-05 20:59:06 +02:00
Bibo-Joshi
b6a6d7f872
Api 5.2 ( #2489 )
...
* Bump API Version to v5.2
* InputInvoiceMessageContent & simplify *Markup.__eq__ on the fly
* Updates to send_invoice
* InlineQuery updatees and new parameter for InlineQueryhandler
* VCScheduled - not integrated into Message yet
* Bump requirements-dev.txt versions
* Message.voice_chat_scheduled & new Filters.status_update.vcs
* Some doc updates
* Review
* All praise harshil, the god of finding typos :)
* Review
* More warnings
2021-04-30 10:09:21 +02:00
Bibo-Joshi
3a9a0ab96d
Update pre-commit Settings ( #2415 )
...
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-03-13 16:21:03 +01:00
Bibo-Joshi
a34f0b9bee
Make cryptography Dependency Optional & Refactor Some Tests ( #2386 )
...
* Make cryptography optional
* Try fixing CI
* Try some more
* Update pytest, mypy & pyupgrade, refactor test_meta, hope that things start to work
* Fix filterwarnings
* Mama mia! Here we go again!
* Add stupid debug prints
* A new hope
2021-02-13 22:07:37 +01:00
Bibo-Joshi
f31787a8ef
Add pyupgrade to pre-commit Hooks ( #2301 )
...
* Add pyupgrade to pre-commit
* update test_chat
2021-01-17 23:24:20 +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
02cd7b642f
Fix Configuration of Black Formatter ( #2158 )
...
* Fix Black in pre-commit
* Fix black some more
2020-10-23 13:40:02 +02: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
fd0325fbe5
Update pylint in pre-commit to fix CI ( #2018 )
2020-07-10 12:57:27 +02:00
Poolitzer
14f712b3c4
Update pre-commit config file ( #1787 )
2020-02-21 07:43:48 +02:00
Poolitzer
e54e9f2347
moving flake config to one file ( #1546 )
2019-10-14 11:10:51 +03:00
Eldinnie
ac60d057a5
All api 4.2 and 4.3 changes ( #1418 )
2019-08-23 22:20:41 +03:00
Jasmin Bom
df813c46e1
Pin pre-commit pylint to v2.3.0
...
Fixes issue seen at https://travis-ci.org/python-telegram-bot/python-telegram-bot/jobs/499853384#L702
2019-02-28 22:02:08 +01:00
Jasmin Bom
1ee53e9e17
Updating the pylint that pre-commit uses
...
Fixes #1321
2019-01-30 19:42:57 +01:00
Pieter Schutz
ea5b301b59
fix pre-commit hooks
2018-11-01 11:08:09 +01:00
Pieter Schutz
d2e2fe9ccc
fix last flake8 errors
2018-11-01 10:52:36 +01: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
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
Noam Meltzer
8fcfdca25b
updated pre-commit tools versions
2017-06-22 22:06:37 +03:00
Jannes Höke
017fdeaae8
run yapf with --diff
2017-05-21 14:29:24 +02:00
Noam Meltzer
d07a1c3f67
yapf: use our own mirror of yapf & update to version 0.12.2
2016-10-12 23:51:46 +03:00
Noam Meltzer
e4a132c0e4
Reusable dispatcher ( #402 )
...
* Create a Request class which maintains its own connection pool
* When creating a Bot instance a new Request instance will be created if one wasn't supplied.
* Updater is responsible for creating a Request instance if a Bot instance wasn't provided.
* Dispatcher: add method to run async functions without decorator
* Dispatcher can now run as a singleton (allowing run_async decorator to work) as it always did and as multiple instances (where run_async decorator will raise RuntimeError)
2016-09-06 16:38:07 +03:00
Rahiel Kasim
4753d27bd5
bump yapf to 0.11.0
2016-08-26 10:55:41 +02:00
leandrotoledo
52bd3daa39
Bumping version of pre-commit [ci skip]
2016-07-14 17:18:29 -03:00
leandrotoledo
4f101a79bb
Update travis yapf [ci skip]
2016-06-19 17:08:12 -04:00
Leandro Toledo
75490ac757
Fix travis
2016-05-23 22:13:38 -03:00
leandrotoledo
c7db9a96cd
Set split_before_logical_operator to True
2016-05-23 17:19:35 -03:00
leandrotoledo
5a0696b181
Replace individual checks to pre-commit run --all-files in Travis
2016-05-22 13:12:05 -03:00
leandrotoledo
a00f409992
Updates pre-commit hooks
2016-05-22 12:31:03 -03:00
Leandro Toledo
49122d6a99
Remove \ from base code #259
2016-05-14 23:26:56 -03:00
Leandro Toledo
d445d35ceb
Running yapf for codebase #259
2016-05-14 22:46:40 -03:00
Leandro Toledo
703b8d1301
Adding more pre-commit hooks and testing InputFile #259
2016-05-14 22:24:35 -03:00
Leandro Toledo
46993d5f2d
Adding pre-commit hooks #259
2016-05-14 21:59:08 -03:00