Commit graph

19 commits

Author SHA1 Message Date
Alex Root Junior
f4ce4431f9
Migrate to hatchling (#1095)
* Migrate to hatchling instead of poetry, ruff instead of flake8

* Migrate to hatchling instead of poetry, ruff instead of flake8

* Update tests suite

* venv?

* -m venv?

* Change dependencies

* Remove venv

* Change mypy config

* Added changelog

* Mark uvloop incompatible with pypy

* Update release script

* Use internal caching for dependencies

* Re-disable cov branches

* Added contributing guide
2023-01-12 02:49:58 +02:00
Alex Root Junior
f4251382e8
Remove filters factory, introduce docs translation (#978)
* Rewrite filters

* Update README.rst

* Fixed tests

* Small optimization of the Text filter (TY to @bomzheg)

* Remove dataclass slots argument in due to the only Python 3.10 has an slots argument

* Fixed mypy

* Update tests

* Disable Python 3.11

* Fixed #1013: Empty mention should be None instead of empty string.

* Added #990 to the changelog

* Added #942 to the changelog

* Fixed coverage

* Update poetry and dependencies

* Fixed mypy

* Remove deprecated code

* Added more tests, update pyproject.toml

* Partial update docs

* Added initial Docs translation files

* Added more changes

* Added log message when connection is established in polling process

* Fixed action

* Disable lint for PyPy

* Added changelog for docs translation
2022-10-02 00:04:31 +03:00
Forevka
125fc22ff9
Added ability to specify which update bot need to receive and process while using polling mode (#617)
* provide allowed_updates in polling mode
2021-07-05 01:41:27 +03:00
Alex Root Junior
4008a3114d
Upgrade architecture + 5.0 Bot API (#469)
Upgrade architecture + 5.0 Bot API (#469)
* Moved `methods`, `types` and `client` to root package
* Removed update handler from routers to dispatcher
* Reworked events propagation mechanism to handlers
* Reworked inner middlewares logic (very small change)
* Updated to Bot API 5.0
* Initial migration from MkDocs to Sphinx + config for readthedocs
2021-01-26 21:20:52 +02:00
Alex Root Junior
6be0b36305
Dev 3.x api 4.8 (#317)
* AIOG-T-20 Bot API 4.8

* AIOG-T-20 Update aliases

* AIOG-T-20 Add parse mode passing in sendPoll method

* AIOG-T-20 Small changes in docs

* AIOG-T-20 Revert overriding remove keyboard default value and add tests

* AIOG-T-20 Bot API 4.8
2020-05-02 23:01:32 +03:00
Alex Root Junior
f0f1523142 Exclude dir with development experiments 2020-01-25 19:05:58 +02:00
Alex Root Junior
f166d83392 Update docs and pipeline 2019-11-17 23:40:52 +02:00
jrootjunior
6c02341303 Add docs to Makefile 2019-11-15 14:11:50 +02:00
jrootjunior
65815e509f Clean obsolete code and change configs 2019-11-15 12:44:24 +02:00
jrootjunior
bdae5fb026 Clean project 2019-11-15 12:17:57 +02:00
jrootjunior
d7270909a3 Update .gitignore. Exclude mypy cache 2019-11-14 16:48:50 +02:00
Alex Root Junior
cdc51a6994 Implement i18n middleware and add example. 2018-06-30 03:59:34 +03:00
Alex Root Junior
6a5393570a Cleanup .gitignore 2018-04-05 23:27:05 +03:00
Alex Root Junior
2a8eefc3af Add .pytest_cache/ to .gitignore 2018-04-05 23:24:57 +03:00
Alex Root Junior
221ce362fc Update .gitignore 2018-01-24 02:30:07 +02:00
Alex Root Junior
76344fd815 Init Sphinx doc's. 2017-06-03 11:58:26 +03:00
Alex Root Junior
89928cf057 Upd .gitignore 2017-05-19 21:21:43 +03:00
Alex Root Junior
23525fd364 Base bot. 2017-05-19 21:20:59 +03:00
Alex Root Junior
3a2fafae2b Initial commit 2017-05-19 19:11:42 +03:00