Merge branch 'aiogram:dev-3.x' into dev-3.x

This commit is contained in:
ZeroN 2023-10-22 01:15:20 +05:00 committed by GitHub
commit 1f9032bcf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 16 deletions

View file

@ -74,7 +74,7 @@ jobs:
- name: Lint code
if: "env.IS_PYPY == 'false'"
run: |
ruff --format=github aiogram examples
ruff --output-format=github aiogram examples
mypy aiogram
black --check --diff aiogram tests

View file

@ -1,13 +1,12 @@
version: 2
python:
version: "3.8"
install:
- method: pip
path: .
extra_requirements:
- docs
- redis
build:
os: ubuntu-22.04
tools:
python: "3.11"
jobs:
post_install:
- pip install .[docs,redis]
sphinx:
configuration: docs/conf.py

View file

@ -16,7 +16,7 @@ from .utils.text_decorations import markdown_decoration as md
with suppress(ImportError):
import uvloop as _uvloop
_uvloop.install()
_uvloop.install() # type: ignore[attr-defined,unused-ignore]
F = MagicFilter()
flags = FlagGenerator()

View file

@ -64,7 +64,7 @@ proxy = [
"aiohttp-socks~=0.8.3",
]
i18n = [
"Babel~=2.12.1",
"Babel~=2.13.0",
]
cli = [
"aiogram-cli~=1.0.3",
@ -74,7 +74,7 @@ test = [
"pytest-html~=4.0.2",
"pytest-asyncio~=0.21.1",
"pytest-lazy-fixture~=0.6.3",
"pytest-mock~=3.11.0",
"pytest-mock~=3.12.0",
"pytest-mypy~=0.10.3",
"pytest-cov~=4.1.0",
"pytest-aiohttp~=1.0.5",
@ -97,12 +97,12 @@ docs = [
"sphinxcontrib-towncrier~=0.3.2a0",
]
dev = [
"black~=23.9.1",
"black~=23.10.0",
"isort~=5.12.0",
"ruff~=0.0.291",
"mypy~=1.5.1",
"ruff~=0.1.1",
"mypy~=1.6.1",
"toml~=0.10.2",
"pre-commit~=3.4.0",
"pre-commit~=3.5.0",
"packaging~=23.1",
]