mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-13 18:43:53 +00:00
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
This commit is contained in:
parent
94030903ec
commit
f4251382e8
610 changed files with 61738 additions and 1687 deletions
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
|
|
@ -41,6 +41,7 @@ jobs:
|
|||
- '3.8'
|
||||
- '3.9'
|
||||
- '3.10'
|
||||
#- '3.11'
|
||||
- 'pypy3.8'
|
||||
- 'pypy3.9'
|
||||
|
||||
|
|
@ -77,7 +78,7 @@ jobs:
|
|||
uses: snok/install-poetry@v1
|
||||
if: "env.IS_PYPY == 'false' || env.IS_WINDOWS == 'false'"
|
||||
with:
|
||||
version: 1.1.11
|
||||
version: 1.2.1
|
||||
virtualenvs-create: true
|
||||
virtualenvs-in-project: true
|
||||
installer-parallel: true
|
||||
|
|
@ -86,7 +87,7 @@ jobs:
|
|||
if: "env.IS_PYPY == 'true' && env.IS_WINDOWS == 'true'"
|
||||
run: |
|
||||
set -eu
|
||||
pip install "poetry==1.1.11"
|
||||
pip install "poetry==1.2.1"
|
||||
poetry config virtualenvs.create true
|
||||
poetry config virtualenvs.in-project true
|
||||
poetry config installer.parallel true
|
||||
|
|
@ -109,9 +110,10 @@ jobs:
|
|||
run: |
|
||||
flags=""
|
||||
[[ "$IS_PYPY" == "false" ]] && flags="$flags -E fast"
|
||||
poetry install --no-interaction -E redis -E proxy -E i18n -E docs $flags
|
||||
poetry install --no-interaction -E redis -E proxy -E i18n $flags
|
||||
|
||||
- name: Lint code
|
||||
if: "env.IS_PYPY == 'false'"
|
||||
run: |
|
||||
poetry run flake8 aiogram
|
||||
poetry run mypy aiogram
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue